AAC encoder: fix wrong gain sacalefactor being set