rustc: Convert lang_items hashmap to use &'static str keys
rustc: Convert lang_item to use an iterator
auto merge of #9614 : blake2-ppc/rust/lang-item-iter, r=alexcrichton

Cleanup in middle::lang_items

Use static string keys in the lang item hashmap, and convert
the traversal function to be an iterator.