Fix 2.2.0 regression when reading codestream with reperated calls to opj_get_decoded_...