qemu: Fix compilation error when enum variable size differs from 'int'
qemu: Fix compilation error when enum variable size differs from 'int'

Since commit bcd9a564b631aa virDomainNumatuneGetMode returns the value
via a pointer rather than in the return value. The change triggered
problems with platforms where the compiler decides to use a data type of
size different than integer at the point where we typecast it.

Work around the issue by using an intermediate variable of the correct
type that gets casted back by the default typecasting rules.

libvirt/libvirt,rlaager/libvirt,datto/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,jardasgit/libvirt,crobinso/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,agx/libvirt,rlaager/libvirt,eskultety/libvirt,libvirt/libvirt,rlaager/libvirt,olafhering/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,olafhering/libvirt,agx/libvirt,agx/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,taget/libvirt,andreabolognani/libvirt,zippy2/libvirt,agx/libvirt,nertpinx/libvirt,libvirt/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,eskultety/libvirt,jfehlig/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,datto/libvirt,datto/libvirt,taget/libvirt,rlaager/libvirt,crobinso/libvirt,nertpinx/libvirt,zippy2/libvirt,olafhering/libvirt,nertpinx/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,VenkatDatta/libvirt,libvirt/libvirt,datto/libvirt,taget/libvirt,taget/libvirt,crobinso/libvirt,nertpinx/libvirt,jardasgit/libvirt,crobinso/libvirt,agx/libvirt,olafhering/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,jfehlig/libvirt,eskultety/libvirt,eskultety/libvirt,fabianfreyer/libvirt,taget/libvirt,rlaager/libvirt,datto/libvirt,zippy2/libvirt,zippy2/libvirt,eskultety/libvirt,jfehlig/libvirt