[PATCH PM-QA v2] thermal/thermal_06.sh: add missing get_os before check the return value