[libvirt] [PATCH v2 1/4] security: Refactor virSecurityManagerGenLabel