libvirt plugin: Correctly check the status code of virDomainGetVcpus().