esx_driver: Use virCheckFlag macro
esx_driver: Use virCheckFlag macro

Instead of duplicating code to do the same checking. Now all functions
of virHypervisorDriver from esx driver are using this macro.

Signed-off-by: Marcos Paulo de Souza <0b4ebe3a213a49a2bc3457b98408e6d86812eb46@gmail.com>
Signed-off-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

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