[libvirt] [PATCH] esx_vi.c: avoid NULL deref for invalid inputs