[PATCH] virtio-gpu: fix a missing check to avoid NULL dereference