[PATCH 6.1 135/166] drm/nouveau: add nv_encoder pointer check for NULL