Clamp the final sample count during decode.

Some games depend on / expect this, or else they'll let important data get
overwritten.  This also handles GHA phase shifting skipped frames better.