[M] Change in libosmo-netif[arehbein/osmo_io_ipa]: stream: Move helper functions