build-support/cabal: recognize the "this package indirectly depends on
multiple versions of the same package" warning from Cabal and abort the
build if it occurs.
pkgs/build-support/cabal: clean up the code that sets rpath for shared executables
pkgs/build-support/cabal: add 'buildTarget' attribute to allow passing flags to "./Setup build"