Correct syntax highlighting for while-keyword

While syntax highlighting correctly recognizes the while-keyword as a
keyword, semantic highlighting treats it as a method. Because semantic
highlighting is activated after its syntax counterpart, it overwrites
the previous detected colors.

The new behavior omits the method symbol detected by semantic
highlighting for while-keywords.

Fix #1000984