[libvirt PATCH v3 18/32] qemu_snapshot: move snapshot metadata reparent code