Fix unwanted KeySym character range

When the ';' was added to the KeySym negative character class
definition, a character range of '+-;' was accidentally created and it
made the characters '0-9' not being recognized as valid KeySym
characters.

We shall always keep the hyphen at the end of class.