HashBasedNumberedShardSpec: Deal with the fact that abs(-2147483648) == -2147483648.