eliminate use of cached pid from thread structure
[musl] / crt / crtn.c