testsutilsqemu: check return value of virQEMUCapsNewCopy
testsutilsqemu: check return value of virQEMUCapsNewCopy

While for virQEMUCapsNew this should not be needed
(the possible failures in VIR_CLASS_NEW are only hit
 on bad API usage which we don't do here),
virQEMUCapsNewCopy calls into many other functions,
some of which actually fail.

Check the return value of both.

Signed-off-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>
Reviewed-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>

libvirt/libvirt,crobinso/libvirt,nertpinx/libvirt,crobinso/libvirt,crobinso/libvirt,libvirt/libvirt,jfehlig/libvirt,zippy2/libvirt,zippy2/libvirt,libvirt/libvirt,zippy2/libvirt,crobinso/libvirt,jfehlig/libvirt,olafhering/libvirt,nertpinx/libvirt,zippy2/libvirt,nertpinx/libvirt,olafhering/libvirt,nertpinx/libvirt,nertpinx/libvirt,libvirt/libvirt,jfehlig/libvirt,olafhering/libvirt,olafhering/libvirt,jfehlig/libvirt