sh: Reject integer overflow in number and is_number.