Add inlining for iter_bytes for types used as hashmap keys

Not inlining these affects the hash table performance quite badly.
auto merge of #6478 : dotdash/rust/inlining, r=catamorphism

Not inlining these affects the hash table performance quite badly.