shadertool: Add automatic texcoord adjustment for texcoords that match output position

This isn't optimal code as it adds a bunch of branches to the end of any
vertex shader, but that's not the point - this is supposed to be a quick
way to identify issues that may be related to an output position being
copied into a texcoord so we can then look closer at any shaders where
it made a difference.