[libvirt] [PATCH 14/17] virsh-snapshot: Refactor cmdSnapshotDumpXML