Revert "fixed: Gold linker check didn't work properly in case the standard GNU linker was used"

This reverts commit 64a59cc51f2bdfc42a91e797e315771cfed5111b.

This commit broke android build and 3 days of build failures is enough to show no one cares. Try again.