[S] Change in libosmo-sigtran[master]: ipa: Split msgb generation into its own helper function