[libvirt] [PATCH] build: avoid test warnings on mingw