set CMAKE_COMPILER_ID to GNU in iOS toolchain

The current ios toolchain is GNU based but the iOSToolchain.cmake
set the CMAKE_COMPILER_ID to gcc which isn't known by cmake.
Merge pull request #1038 from bmiklautz/ioscompilerdetection

set CMAKE_COMPILER_ID to GNU in iOS toolchain