fix and optimize non-default-type mutex behavior
[musl] / lib / empty