Added GSRegisterThreadWithGC() function. Export it for external usage.
Fixed libdispatch runtime initialization.