Fixes #6874: Integers in settings can be up to 8 digits to avoid bigint out of range error

`refute_valid setting, :value, "is too long (maximum is 8 characters)"` should do the same as these lines, ditto below (`assert_valid setting`)