Correct savestate logic in atrac

Not 100% sure it works though, it doesn't crash and games run.  USE_FFMPEG builds with this change.

Anyway, this doesn't do memory overwriting and stuff that looks funny when loading state.

-[Unknown]