tokenizer: fix bad cast in maxTokSearchLen computation. Fix #8
tokenizer: fix bad cast in maxTokSearchLen computation. Fix #8

This cause issues when the string length was around uchar max...

Also, recompute it just before the inner loop.

adriweb/tivars_lib_cpp,adriweb/tivars_lib_cpp