string: Improve strchrnul-mte performance

Improve strchrnul performance by using more efficient termination tests.
On various micro architectures the speedup is 20% on large strings and 26%
on small strings.
1 file changed