Fix undesirable RangeError by Type::Integer. Add Type::UnsignedInteger.
Merge pull request #17793 from kamipo/fix_undesirable_range_error

Fix undesirable RangeError by Type::Integer. Add Type::UnsignedInteger.