fix 8- and 24-bit FLAC decoding