Checked strrchr.c