sdl: Modify a bit the triple-buffering patch

This is done to ensure that an application using the
SDL_TRIPLEBUF flag will revert to use SDL_DOUBLEBUF if the
runtime SDL library was not compiled with the triple-buffer
patch.