vkd3d-shader/ir: Correctly compute the TEMP count after hull shader flattening.
The previous computation was incorrect because the count was taken after resetting it to zero (as part of setting the instruction to NOP).
The previous computation was incorrect because the count was taken after resetting it to zero (as part of setting the instruction to NOP).