[PATCH] virtio-gpu: fix possible memory allocation failure