Check that memchr does not read past the first occurrence of the byte.