thermal: cpu_cooling: return ERR_PTR() for !CPU_THERMAL or !THERMAL_OF