fix and optimize non-default-type mutex behavior
[musl] / crt / crt1.c