virtio-gpu: fix a missing check to avoid NULL dereference
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.10.137 by commit 259773fc874258606c0121767a4a27466ff337eb, it was introduced in version v4.4 by commit 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257. For more details please see the references link.