Add support for SDL_WaitEvent and SDL_WaitEventTimeout