[openEuler-5.10 257/557] virtio-gpu: fix possible memory allocation failure