fix crashes in static-linked multithreaded programs without TLS
[musl] / crt / crti.c