remove thread.di header

- Use extern(D) bindings for the core.thread<->rt.tlsgc
  interface to avoid importing a rt module in core.