[PATCH 6.5 054/739] thermal/of: Fix potential uninitialized value access