Renumber the lang items correctly

Also add a test to help prevent this from getting out of sync again.
auto merge of #9295 : alexcrichton/rust/fix-lang-items, r=thestinger

Also add a test to help prevent this from getting out of sync again.