Change in osmo-bsc[master]: pcu_sock: move code that fills in trx info to helper function