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