avoid function call to pthread_self in mutex unlock
[musl] / src / thread / clone.c