Fix mod_floor() for uint primitive types

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