fix double keystokes with SDL2
tested with both keyboard input and Virtual Keyboard
see http://pulkomandy.tk/projects/GrafX2/ticket/135