This ports the last user of the avfft/avdct/avrdft API. Patch attached.