[S] Change in libosmocore[master]: osmo_io: Log error message in case call-backs incompatible with mode