avcodec/jpeg2000dec: Remove unused variables