[Libguestfs] [PATCH threads v2 3/5] threads: Use thread-local storage for errors.