[M] Change in libosmocore[master]: osmo_io: Improve handling of segmentation_cb