Fix mod_floor() for uint primitive types
auto merge of #8610 : kballard/rust/mod_floor, r=alexcrichton

`mod_floor()` was incorrectly defined for uint types as `a / b` instead of `a % b`.