Sema: fix crash when coercion dest is var args

When analyzing the `as` ZIR instruction, an assertion would trip if the
result type was a var args function argument. The fix is simple: inline
a little bit of the `resolveType` logic into `analyzeAs` to make it
detect this situation - which it was already attempting to do.

Closes #16197
e6b73be870Andrew Kelley committed on 10/13/2023, 5:03:39 AMparent2769215
2 files changedLine totals unavailable