[PATCH openEuler-5.10 31/99] thermal: core: Fix TZ_GET_TRIP NULL pointer dereference