[Git][ghc/ghc][wip/jeltsch/text-read-uncovering] 2 commits: Move the implementation of version parsing into `base`