VideoCommon: loop bug in ShaderGenCommon.h debug
Merge pull request #1386 from booto/small-loop-fix

VideoCommon: loop bug in ShaderGenCommon.h debug