[libvirt] [PATCH 3/4] security: avoid use of dirent d_type field