vorbisdec: replace div/mod in loop with a counter