[libvirt] [PATCH v3 05/18] snapshot: Refactor virDomainSnapshotDefFormat