libvirt_xml: Shutdown vm before sync

If a VM is sync when it's alive, it's live changes will be passed
to next test if the vm accidentally not reboot between the tests,
causing unexpected behavior.

Signed-off-by: Hao Liu <hliu@redhat.com>