fixed #5141: Tokenizer: Dereference before null check (Scan.coverity id 1061759)