Copy ComponentLocalBuildInfo from Cabal-1.18

This way `configDependencies` works even when the Cabal version used by
cabal-install is later than the one used by ghc-mod.