[libvirt] [PATCH v3 2/2] security: Refactor virSecurityManagerGenLabel