rustc: remove the explicit count from the lang_item macro.

We can use a secondary macro to calculate the count from the information
we're already having to pass to the lang items macro.
auto merge of #11657 : huonw/rust/less-lang-duplication, r=cmr

We can use a secondary macro to calculate the count from the information
we're already having to pass to the lang items macro.