[PATCH openEuler-5.10-LTS 024/427] drm/virtio: fix NULL pointer dereference in virtio_gpu_conn_get_modes