[PATCH] drm/nouveau: fix a possible null pointer dereference