Fixed #4530 (Tokenizer: improved simplification of strlen in calculation)