Update to SDL 2.0

Patch by Icculus.