tu: do not corrupt unwritten render targets
There is no point in having a write to an attachment enabled when there is no corresponding output in the shader. Per VK spec it is an UB, however a few apps depend on attachment not being changed if FS doesn't have corresponding output.
Fixes water in Genshin Impact.
Same was previously done in Freedreno to fix 3dmark - 46e98004