gallium/tgsi_exec: Fix up NumOutputs counting