[libvirt] [PATCH 06/12] Introduce virBufferCheckError