freedreno: Fix YUV sampler regression.
We have to keep sampler uniforms around for later YUV lowering, and we only need to remove uniforms that take up storage space. Code comes from radeonsi.
Closes: #4644 (closed). Fixes: de17b4aa ("freedreno: Remove uniform variables after finalizing NIR.")