util: virerror: Avoid a copy of the error messages
util: virerror: Avoid a copy of the error messages

Some error message reporting functions already have allocated buffers
which were used to format the error message, so copying the strings is
redundant.

Extract the internals from 'virRaiseErrorFull' to
'virRaiseErrorInternal' which takes allocated strings as arguments and
steals them, so that callers can reuse the buffers.

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

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