avcodec/aacdec_template: fix integer overflow in imdct_and_windowing()