Fix error message interpolation in gen_call_with_extracted_types()