GCMemcard: fix edge case of adding to a fragmented memcard.

allocates last block of memcard, and then wraps around, instead of attempting to write past the end of the card
Jit64: implement tw/twi more accurately

Fixes issue 7253.
Move the #pragma once header guard before the includes in Statistics.h in VideoCommon.
VideoCommon: fix indirect texture coordinate computation in TEV.

Even if an indirect texture stage doesn't actually sample a texture, we
still need to emit the relevant math.

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

This is consistent with the implementation in PixelShaderGen.
Enables usage of GLSL textureSize on Qualcomm v66.

Qualcomm's v66 drivers have a working textureSize() function now.
Enable usage of it.
ogl: fix signed vs unsigned comparison warning
ShaderGen/D3D: inline centroid
ShaderGen: merge early-z blocks of ogl+d3d
ShaderGen: use cbuffers for D3D
ShaderGen: inline constant shaders
PixelShaderGen: drop fmod as it isn't used any more
PixelShaderGen: extract iround
ShaderGen: make clipPos readonly
ShaderGen: OGL: don't make a copy of "Normal"
ShaderGen: make uv readonly
Merge pull request #344 from magumagu/tev-indirect

VideoCommon: fix indirect texture coordinate computation in TEV.
Merge pull request #345 from Sonicadvance1/Qualcomm-textureSize

Enables usage of GLSL textureSize on Qualcomm v66.
OpenGL: delete unused function parameter in TextureConverter.

(While I'm here, also mark some functions static.)
VideoInterface: accurate XFB width and height.

What we call "fbWidth" here is really the stride, but I'll fix that in a
followup.