g726: use bits_per_coded_sample instead of bitrate to determine mode