Add NDEBUG flag to release build in iOS

Otherwise glGetError is called after every GL call even in release
builds.