[Libguestfs] [PATCH nbdkit v2 4/5] server: Take a thread-local copy of the last call to nbdkit_error