Support PSP_O_TRUNC on Windows.

There are more modes we don't support properly.  May fix savedata
corruption in Gran Turismo and possibly other games.
Merge pull request #5420 from unknownbrackets/io-minor

Support PSP_O_TRUNC on Windows
Attempt temporary workaround for iOS shutdown issues.
Fix in-game rendering resolution changes on Windows. Fixes #5401
Update native with zip directory bugfix. Fixes #5404
Load game's user font file (.pgf) from game's image.
Especially support some chinese psp games which use their own fonts zh_gb.pgf from image.
Minor cleanup
Apply the fog fix to software transform as well. See #2387
Merge pull request #5422 from kaienfr/branch_loaduserfont

Load game's user font file (.pgf) from game's image.
Fix remaining problems in #5396 and #5401