[PATCH 5.15 336/356] drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_modes