Update msm_thermal.c

Added function to enable thermal guard