st/glsl_to_nir: fix the case where NIR clone testing is enabled