Tokenize: improved const correctness of local variables, no functional change.