Add Orderable bound to num::Primitive
auto merge of #9182 : bjz/rust/master, r=brson

Somehow this was missed!

cc #4819