[PATCH 6.11 672/695] thermal: sysfs: Add sanity checks for trip temperature and hysteresis