[S] Change in libosmo-sigtran[master]: sccp_user: Move lookup to helper function to simplify code