[configure] fix goldlinker check
Merge pull request #2937 from wsnipex/configure

[configure] fix goldlinker check (closes #13647)