[libvirt] [PATCH 02/15] Fix errno handling for pthreads wrappers