Move additional barrel frame to end of states array

For Dehacked's benefit. Also, because of this, and for robustness, when
randomizing starting state of a mobj, use nextstate instead of adding a
random to the statenum, since they no longer need to be in order.
Remove frame overflow simulation

Also fix a warning.