[builtin/ulimit] Check for integer overflow