avcodec/jpeg2000: remove unused variable