VideoCommon: correctly compute whether an indirect texture stage is active.

This is consistent with the implementation in PixelShaderGen.