sdl: correctly send a resize event if the orientation of the screen changed + force the exposure of the window. This will trigger a new frame drawing, then window will be resized.
Tested with --orientation sensor on showcase example.