const correctness on function pointer
[musl] / src / thread / cancellation2.c