configure: Make sure we try all possible linkers
configure: Make sure we try all possible linkers

Previously if we had both ld.lld and ld.gold installed but a gcc which
didn't support -fuse-ld=lld we would fail when trying ld.lld and fall
immediately back to plain ld. Now we will try ld.gold as well. This was
brought to light by #14280, where using ld.bfd resulted in a broken
stage2 compiler.

Test Plan: Configure

Reviewers: angerman, hvr, austin

Reviewed By: angerman

Subscribers: rwbarton, thomie, erikd

GHC Trac Issues: #14280

Differential Revision: https://phabricator.haskell.org/D4038

ezyang/ghc,shlevy/ghc,ezyang/ghc,shlevy/ghc,sdiehl/ghc,ezyang/ghc,shlevy/ghc,ezyang/ghc,shlevy/ghc,shlevy/ghc,shlevy/ghc,sdiehl/ghc,ezyang/ghc,ezyang/ghc,shlevy/ghc,sdiehl/ghc,sdiehl/ghc,sdiehl/ghc,ezyang/ghc,sdiehl/ghc,sdiehl/ghc