[PATCH] drm/nouveau/therm: Fix pointer dereferenced before checking