rustc: Add a lint for the obsolete crate-level link attribute

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