Only inject code when fix_ZRepair_DepthTextureHash is in use.

Previously we were getting code injected into every shader to use the depth buffer texture, even if it was never defined or filled out.
This makes that injection dependent upon whether the feature is in use or not.