make Thread.sm_this a plain TLS value

- this became possible, because the TLS emulation
  no longer uses the Thread.getThis() instance

- Windows use impersonate_thread to set sm_this
  when attaching a foreign thread