Implement rawmemchr