[libvirt PATCH 12/30] qemu_snapshot: refactor qemuSnapshotDelete