Use the GhcOptions record in D.C.SetupWrapper.

Makes cabal-install compile with 0 warnings and removes a bit of duplication.
Remove two deprecated functions.
Merge pull request #1228 from 23Skidoo/ghcoptions-record

Use the GhcOptions record in D.C.SetupWrapper.