[Git][ghc/ghc][wip/T26394] configure: Fix consistency between distrib and source CC check