fix init race that could lead to deadlock in malloc init code
[musl] / crt / crti.c
2011-02-12 Rich Felkerinitial check-in, version 0.5.0