[PATCH 5.15 148/262] thermal: core: Fix TZ_GET_TRIP NULL pointer dereference