[libvirt] [PATCH v4 06/15] security_manager: Rework metadata locking