Detect uint64 overflow in config_parse_units()

The config_parse_units function uses 64-bit arithmetic, but does not detect 64-bit overflow. This means that values like "20000000 TB", which should be rejected, are instead mis-parsed.

Since this function is only used for configuration parsing, it's not a huge issue, but it should be simple enough to resolve this.

Found while working on 30893.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information