implement memrchr (nonstandard) and optimize strrchr in terms of it
[musl] / include / malloc.h