[trunk] Fix wrong return value for opj_setup_encoder & opj_set_decoded_resolution_fac...