rustc: Add a lint for the obsolete crate-level link attribute
auto merge of #11091 : brson/rust/cratelinkattr, r=brson

This is set to *forbid* and prints a note explaining how to fix the problem.