[PATCH 5.16 061/186] thermal: core: Fix TZ_GET_TRIP NULL pointer dereference