Rolled back S2650 changes, corrections for MinGW compiles

git-svn-id: svn://svn.code.sf.net/p/pinmame/code/trunk@3616 6f51dfdd-75df-4273-8f3b-818b1e6aa8bf