[PATCH 4.19 36/66] drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes