microsoft/compiler: fix num_psv_outputs calculation
Rather surprisingly, the value stored in the NumVectors field of the DXIL PSV header isn't the number of vectors, but rather the maximum vector used.
This makes a difference when we're not writing to the first element of an array, where we would previously generate a validation error.