gl_common: cocoa: add OpenGL 3.2 context creation code