stage2: resolve array type for typed array init expressions

Array types with sentinels were not being typed correctly in the
translation from ZIR to Sema (comptime). This modifies the `array_init`
ZIR to also retain the type of the init expression (note: untyped array
initialization is done via the `array_init_anon` ZIR and so is unchanged
in this commit).
c9fac41368Mitchell Hashimoto committed on 3/7/2022, 3:30:30 PMparentc7e4c71
3 files changedLine totals unavailable