BUG: wrong boundary check in unrolled memchr