qemu: domain: gfx: Fix shadowing of a function argument in validation
qemu: domain: gfx: Fix shadowing of a function argument in validation

Since the code was never run, it would have been very hard to spot this
mistake, especially since the compiler can't really warn about it.

Signed-off-by: Erik Skultety <2c14d38fa47c8799f1b9c16280abe27f8edfec6e@redhat.com>
Reviewed-by: John Ferlan <87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com>

jfehlig/libvirt,nertpinx/libvirt,zippy2/libvirt,libvirt/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,crobinso/libvirt,jardasgit/libvirt,crobinso/libvirt,nertpinx/libvirt,eskultety/libvirt,zippy2/libvirt,andreabolognani/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,olafhering/libvirt,eskultety/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,olafhering/libvirt,eskultety/libvirt,olafhering/libvirt,eskultety/libvirt,crobinso/libvirt,nertpinx/libvirt,crobinso/libvirt,eskultety/libvirt,zippy2/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,zippy2/libvirt,jardasgit/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,jfehlig/libvirt,olafhering/libvirt,andreabolognani/libvirt,jfehlig/libvirt,nertpinx/libvirt,libvirt/libvirt,andreabolognani/libvirt,libvirt/libvirt,libvirt/libvirt