[PATCH 5.15 056/144] drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes