libvirt.test: Fix qemu-ga service bug for reboot and shutdown test

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>