LIBRETRO: Add an ios build target, and a libco hack that uses pthread. It's a WIP but allows it to run on iOS without crashing.