[iOS] Upstream changes to Platform.h