drivers/thermal/thermal_sys.c: fix build warning