[libvirt] [go PATCH 30/37] connect: fix error reporting thread safety