[libvirt PATCH v3 21/32] qemu_snapshot: refactor validation of snapshot delete