cmDependsC: Collapse relative include paths

While calculating dependencies collapse sequences such as

 ../../../a/b/c/../../d/e/../../e/f

to avoid total path lengths over the Windows path length limit as much
as possible.
Merge topic 'make-depends-collapse-paths' into next

551d334 cmDependsC: Collapse relative include paths