Fixed #6350 (Tokenizer::simplifyCast: set Token::isCasted when cast is removed)