spirv: fix OpFunctionCall parameters interleaving with insts

resolve() is now able to emit instructions. If usage of this function is
interleaved with calls to emitRaw() and writeOperand(), then an
instruction may get inserted between operands, causing an invalid module.
The solution here is to just perform a temporary allocation.
dfecf89d06Robin Voetter committed on 5/11/2023, 6:31:50 PMparent5d896a6
1 file changedLine totals unavailable