Further changes to migrate to SDL2

Extensive changes to i_video.c. It compiles now, and runs, but no
pillarboxes, and it crashes when going widescreen and with some
keypresses. There's a lot more work to do.