[libvirt] [PATCH 5/8] virsh-snapshot: Refactor cmdSnapshotCurrent