libvirt.test: Fix a bug in setvcpus

In test, such fail will show up:
local variable 'status_error' referenced before assignment

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #149 from liyangfnst/setvcpu_status

libvirt.test: Fix a bug in setvcpus