Fixed bug 2176 - SDL_CreateWindow(w=INT_MAX, h=INT_MAX) causes program to hang

Catch exceptions generated when trying to create a Cocoa window.

--HG--
extra : rebase_source : e30cf93c954ce9039e5522aa2d5a87f25e9e9386
Fixed bug 1965 - Mac: dead code for supporting OS 10.4

Alex Szpakowski

The new patch removes all the truly obsolete code I could find. I tested on OS 10.8 and OS 10.5.