[PATCH 4.19 40/49] drm/nouveau: add nv_encoder pointer check for NULL