[libvirt PATCH v3 13/32] qemu_snapshot: refactor qemuSnapshotDelete