Move tls_init code into TLS_INIT_TP, where it belongs