[libvirt] [PATCH 2/4] qemu: don't rely on the non-portable d_type field in dirent