[libvirt] [PATCH 1/3] util: identity: Harden virIdentitySetCurrent()