Implement SDL_GL_SHARE_WITH_CURRENT_CONTEXT for iOS.

Fixes Bugzilla #1947.
Patched to compile.
Fixed iOS context sharing again.

I suck at Objective-C.