Pass a tls_init function to a threads _start routine so that TLS can be initialized
with the C library before execution gets to component_main