[PATCH 5.10 269/575] virtio-gpu: fix possible memory allocation failure