[S] Change in libosmocore[master]: osmo_io: Assert that iofd mode is correct when calling *_write_msgb