Implement `div_mod` for byte <-> int conversions.