cmGeneratorTarget: collapse paths before querying the fileset cache
Observed with paths with ../
when outside of the source tree. I
attempted to reproduce a test suite case for it but could not make it
happen.
Manual-backport: release-3.28
Backport: release