revert mutex "optimization" that turned out to be worse
[musl] / src / thread / cancellation3.c