[GHC] #9265: Extend PackageId to include version dependency information