libfabric: don't use __thread

There's no real reason that this routine should use thread local
storage.  Plus, __thread appears to be a GCC extension.