libsyntax: remove dead code find_linkage_metas

Closes #14329