This NFCI patch makes DependencyFileGenerator a DependencyCollector as it was intended when DependencyCollector was introduced. The missing PP overrides are added to the DependencyCollector as well.
This change will allow clang-scan-deps to access the produced dependencies without writing them out to .d files to disk, so that it will be able collate them and report them to the user.