make opj_stream_set_user_data tolerate a NULL stream same as all other opj_stream_set_* methods