cmGeneratorTarget: return the source file added

A few callsites uses this codepath to generate `cmSourceFile` instances;
allow them to access it.
2 files changed