[libvirt] [PATCH] threads: check for failure to set thread-local value