[PATCH 6.1 131/600] thermal/of: Fix potential uninitialized value access