Tidy up opj_ callback functions in fx_codec_jpx_obj.cpp