st/nine: Improve REP performance

Some games use REP as equivalent to 'while', and handle the
break condition themselves. putting the counter increase
at the end of the loop increases performance in this case.

Signed-off-by: Axel Davy <axel.davy@ens.fr>