Clamp the final sample count during decode.

Some games depend on / expect this, or else they'll let important data get
overwritten.
Add extra frames if we run out of atrac data.

We could probably insert frames instead for GHA phase shifting, but this
will solve other bugs too, I think.