Simplify cur_band_type, group_len, and coef/offset calculations. This makes the code easier to read and slightly faster. Originally committed as revision 21189 to svn://svn.ffmpeg.org/ffmpeg/trunk