Fix compilation of jpeg2000dsp when disabling the encoder.