[S] Change in libosmocore[master]: osmo_io: Only allow reading/writing if the relevant callback is set