[M] Change in libosmo-netif[master]: stream: Move helper functions