Revert "Try harder to pick the correct version in cabalLibVersionToUse."
Revert "Try harder to pick the correct version in cabalLibVersionToUse."

This reverts commit a17491d70741d28d9b6037640e6fb2b041fc81bc.

That commit made the logic much more convoluted and broke the following use case
(for sandboxed packages with build-type Custom):

$ cabal configure -w /path/to/ghc
$ cabal build

Heather/cabal,anton-dessiatov/cabal,Helkafen/cabal,enolan/cabal,typelead/epm,sopvop/cabal,edsko/cabal,themoritz/cabal,randen/cabal,Heather/cabal,triplepointfive/cabal,martinvlk/cabal,rimmington/cabal,fpco/cabal,mightybyte/cabal,seereason/cabal,beni55/cabal,valderman/cabal,thomie/cabal,gridaphobe/cabal,plow-technologies/cabal,trskop/cabal,plumlife/cabal,christiaanb/cabal,ian-ross/cabal,anton-dessiatov/cabal,mmakowski/cabal,mydaum/cabal,fpco/cabal,Helkafen/cabal,mydaum/cabal,plow-technologies/cabal,Peaker/cabal,triplepointfive/cabal,eric-stanley/cabal,ian-ross/cabal,kolmodin/cabal,seereason/cabal,themoritz/cabal,enolan/cabal,x-y-z/cabal,thomie/cabal,gbaz/cabal,ghc-android/cabal,martinvlk/cabal,eric-stanley/cabal,garetxe/cabal,sopvop/cabal,gbaz/cabal,lukexi/cabal,lukexi/cabal,typelead/epm,garetxe/cabal,ghc-android/cabal,themoritz/cabal,bennofs/cabal,mmakowski/cabal,randen/cabal,headprogrammingczar/cabal,headprogrammingczar/cabal,kosmikus/cabal,Peaker/cabal,kolmodin/cabal,corngood/cabal,fugyk/cabal,bennofs/cabal,x-y-z/cabal,valderman/cabal,thoughtpolice/cabal,corngood/cabal,rimmington/cabal,fugyk/cabal,sopvop/cabal,thoughtpolice/cabal,edsko/cabal,mightybyte/cabal,kosmikus/cabal,gridaphobe/cabal,trskop/cabal,beni55/cabal,plumlife/cabal,christiaanb/cabal