glimports: Check for iOS and skip OpenGL and CGL as appropriate.

The Regal build for iOS supporting apitrace needs this
change to avoid a compilation error.