Nonclassical radiation from thermal cavities in the ultrastrong coupling regime