hadolint: build with brewed GHC
hadolint: build with brewed GHC

The formula declares a build dependency on GHC, but doesn't actually
make use of it. Instead, `stack` downloads its own GHC at build time. [1]

Let's fix that by using Homebrew GHC instead. This should hopefully
allow us to build this on ARM, and likely also removes the need for the
`gmp` dependency on Linux.

[1] Attempting to bottle this on ARM without the changes here produces
the error:

    I don't know how to install GHC for (OSX,AArch64), please install manually

Closes #79037.

Signed-off-by: Nanda H Krishna <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@nandahkrishna.com>
Signed-off-by: BrewTestBot <8a898ee6867e4f2028e63d2a6319b2224641c06c@users.noreply.github.com>

Moisan/homebrew-core,mbcoguno/homebrew-core,filcab/homebrew-core,Moisan/homebrew-core,uyjulian/homebrew-core,mbcoguno/homebrew-core,cblecker/homebrew-core,lemzwerg/homebrew-core,makigumo/homebrew-core,mfikes/homebrew-core,mbcoguno/homebrew-core,lemzwerg/homebrew-core,Linuxbrew/homebrew-core,nandub/homebrew-core,stgraber/homebrew-core,nbari/homebrew-core,chrisfinazzo/homebrew-core,zyedidia/homebrew-core,cblecker/homebrew-core,Linuxbrew/homebrew-core,uyjulian/homebrew-core,nbari/homebrew-core,filcab/homebrew-core,stgraber/homebrew-core,mfikes/homebrew-core,adam-moss/homebrew-core,zyedidia/homebrew-core,makigumo/homebrew-core,sjackman/homebrew-core,sjackman/homebrew-core,Homebrew/homebrew-core,adam-moss/homebrew-core,chrisfinazzo/homebrew-core,Homebrew/homebrew-core,nandub/homebrew-core