patch applied (cabal): Add compat InstalledPackageInfo types for older GHCs