Make PS2/PSP use the mainFunction argument for SDL_RunApp().
Make PSP SDL_RunApp() return the value from mainFunction().
Make PS2 SDL_RunApp() call SDL_SetMainReady() like all other
SDL_RunApp() functions. (It doesn't affect anything for PS2 as
SDL_MAIN_NEEDED isn't defined.)