GeneratorC: do not copy the type if the return type is a reference