Fix compat issue between 64/32 bit savestates.
Fix some warnings.
Obviously no reason for this to be virtual.
Merge pull request #3164 from unknownbrackets/savestates

Fix savestate difference on 64/32 bit + warnings/minor