nir: Fix mistaken write of tess info for shaders other than TESS_CTRL.

Merge request reports