thermal/drivers/cpuidle_cooling: Fix use after error