stage2: fix the build for 32-bit architectures

* Introduce a mechanism into Sema for emitting a compile error when an
   integer is too big and we need it to fit into a usize.
 * Add `@intCast` where necessary
 * link/MachO: fix an unnecessary allocation when all that was happening
   was appending zeroes to an ArrayList.
 * Add `error.Overflow` as a possible error to some codepaths, allowing
   usage of `math.intCast`.

closes #9710
6afcaf4a08Andrew Kelley committed on 11/22/2021, 2:43:08 AMparent96e5f66
11 files changedLine totals unavailable