msm: thermal: Added __cpuinit in check_temp function