Travis: Use cabal-1.18 for older ghc versions.

We use the sandbox feature.