cmSourceFileLocation: Normalize the directory member.

Otherwise Matches() ends up doing a comparison of
the directories

 /path/to/dir/subdir/..

and

 /path/to/dir

as strings and not matching where it should.
Merge topic 'target-sources-refactor' into next

ae1bb903 cmSourceFileLocation: Normalize the directory member.