[PATCH 6.6 002/151] thermal: core: Rework thermal zone availability check