use GC roots from SectionGroup
fix array literal allocation

- crashes because the GC wasn't yet initialized
No need to scan the constant TLS templates

- they should actually be located in the __TEXT segment
no need to synchronize thread local value
replace rt.qsort with libc wrapper
Merge pull request #432 from dawgfoto/SharedRuntime_5

use GC roots from SectionGroup
use reentrant qsort_r where available

- this avoids one TLS access per comparison
Merge pull request #427 from dawgfoto/qsort2

replace rt.qsort with libc wrapper