[IOS] Fix popen crash during xbmc starting up, it not work ios and may crash.
Merge pull request #2455 from ulion/fix_ios_startup_crash_on_popen

[IOS] Fix popen crash during xbmc starting up, it may not work on ios