[PATCH 5.4 185/355] virtio-gpu: fix possible memory allocation failure