[M] Change in libosmocore[master]: tdef_vty: Introduce helper functions/adapt existing helpers