cabal: fix GHC 6.10.4 builds

3e8344d334d42824 added some magic -optP-P flag that the old compiler
version doesn't support.