Build fix for SDL frameworks
Update to latest SDLMain from SDL-1.2

This also fixes the 10.9+ entry point bug where loading would
immediately exit http://hg.libsdl.org/SDL/rev/cfec3f86fba7