fix init race that could lead to deadlock in malloc init code
[musl] / crt / superh /
2014-02-23 Bobby Binghamsuperh port