don't crash if TLS library is loaded into process with no thread pointer
[musl] / crt / crtn.c