gdtool: better command line, stdin lists, cleanup

Also, imgread const filenames and such
Merge pull request #496 from reicast/gdtool-refactor

gdtool: better command line, stdin lists, cleanup