Fix gdtool build, fseek bugfix for coreio
Merge pull request #499 from reicast/skmp/gdtool

skmp/gdtool