correct locking in stdio functions that tried to be lock-free
[musl] / crt / Scrt1.c