An x‐ray spectral measurement system for nanosecond plasmas