fix warnings and errors found by PVS

..somebody please review this
update m68000 with recent MESS changes
update m6800 cycle counts with MESS ones
update Z80 core with most changes from MESS