sdl: fix key repeat (SDL_EnableKeyRepeat was called too early)