Fix 32 bit build of MAME and MESS