GLSLEditor: Fix crash when GLSL highligher is used inside diff editor.

Task-number: QTCREATORBUG-10671

Change-Id: Ife5b1a5f2ec42ddaa1e1bc4ac1a953f34efd0d1a
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>