[libvirt PATCH v2 2/7] util: Use glib memory functions in virErrorCopyNew