[libvirt] [go PATCH 31/37] domain: fix error reporting thread safety