avcodec/mdct_*: Fix integer overflow in addition in RESCALE()