dtoc: Fix widening of int to bytes