front: Add compatibility for SDL 2.0.

No functional changes.

SDL 2.0 uses a slightly different function signature for the imported
Java function createGLContext (config spec is an input).  This just
splits the existing function to allow compatibility with both SDL
versions.