Fix an integer overflow in the AAC encoder.