gc.realloc: If old block attributes are preserved, communicate them from reallocNoSync to realloc.
remove thread.di header

- Use extern(D) bindings for the core.thread<->rt.tlsgc
  interface to avoid importing a rt module in core.
Merge pull request #844 from Safety0ff/reallocbits

gc.realloc: Improve case where old block attributes are preserved
Merge pull request #865 from MartinNowak/tlsgc_externD

remove thread.di header
Fix Issue 13057 - posix getopt variables in core/sys/posix/unistd.d should be marked __gshared
Mark threadasm.S as not requiring an executable stack.
Merge pull request #868 from klickverbot/threadasm-exec-stack

Mark threadasm.S as not requiring an executable stack.
Fix declaration of lstrcmp/lstrcmpi in windows.d

According to MSDN (http://msdn.microsoft.com/en-us/library/windows/desktop/ms647488(v=vs.85).aspx), lstrcmp and lstrcmpi
follow the usual pattern of being macros expanding to either the ANSI (lstrcmpA) or Unicode (lstrcmpW).
The current declaration in windows.d misses the postfix A/W. This causes compile errors with ldc because the
mangled names are identical.
Merge pull request #874 from redstar/lstrcmp

Fix declaration of lstrcmp/lstrcmpi in windows.d
Merge pull request #869 from klickverbot/getopt-tls

Fix Issue 13057 - posix getopt variables in core/sys/posix/unistd.d should be marked __gshared
fix Issue 13078 - [dmd 2.066-b2] AA rehash failed with shared
Merge pull request #877 from 9rnsr/fix13078

[REG2.066a] Issue 13078 - [dmd 2.066-b2] AA rehash failed with shared
Fix wrong comparison of uint[] due to invalid unsigned subtraction.
Add unittest for issue 13073.
Hmph, int[] comparison is also wrong (liable to int overflow).
Merge pull request #881 from quickfur/issue13073

Fix wrong comparison of uint[]/int[] due to invalid subtraction.
Fix 13111: GC.realloc returns invalid memory for large reallocation

added missing handling if the reallocation is too large for the current pool
add unittest
Merge pull request #884 from rainers/fix_13111

Fix 13111: GC.realloc returns invalid memory for large reallocation