implement memrchr (nonstandard) and optimize strrchr in terms of it
[musl] / src / thread / cancellation2.c