Dissipation and thermal noise in hybrid quantum systems in the ultrastrong-coupling regime