libvirt: Fix a bug in virsh_change_media test and modify format

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