discover/grub2: Handle var tokens in lexer