libopenjpegenc: allow changing encoding parameters