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