trans: add range asserts to loads of `char`
auto merge of #10056 : thestinger/rust/char, r=alexcrichton