Fix build error when turning off msm_thermal module