fix and optimize non-default-type mutex behavior
[musl] / include / malloc.h