[S] Change in libosmo-sigtran[master]: route_table: Split allocation code to its own function