fix some 64bit compile issues

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