(iOS) Move some cdoe from platform.m over to C
(iOS) Add frontend/platform/platform_ios.h