build:wafsamba: Use the Waf 1.8 API get_tgen_by_name instead of name_to_obj