libvirt.test: Fix a bug in setvcpus test

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