Fix out of bound problem in glTexSubImage2D
Fix out of bound problem in glTexSubImage2D

If we have an x-offset and running on last row,
we will get out of bound, since it wrongly slice a whole
stride.

google/gapid,pmuetschard/gapid,Qining/gapid,baldwinn860/gapid,ben-clayton/gapid,google/agi,baldwinn860/gapid,dsrbecky/gapid,ben-clayton/gapid,pmuetschard/gapid,ek9852/gapid,pmuetschard/gapid,ben-clayton/gapid,ek9852/gapid,google/agi,Qining/gapid,google/gapid,google/agi,Qining/gapid,google/agi,dsrbecky/gapid,ek9852/gapid,dsrbecky/gapid,google/agi,ek9852/gapid,pmuetschard/gapid,google/gapid,google/gapid,pmuetschard/gapid,Qining/gapid,google/agi,dsrbecky/gapid,google/gapid,ben-clayton/gapid,ek9852/gapid,dsrbecky/gapid,baldwinn860/gapid,baldwinn860/gapid,pmuetschard/gapid,Qining/gapid,google/agi,baldwinn860/gapid,baldwinn860/gapid,Qining/gapid,dsrbecky/gapid,baldwinn860/gapid,pmuetschard/gapid,google/agi,google/gapid,dsrbecky/gapid,ben-clayton/gapid,google/gapid,Qining/gapid,pmuetschard/gapid,ek9852/gapid,ben-clayton/gapid,ben-clayton/gapid,dsrbecky/gapid,ben-clayton/gapid,google/gapid,Qining/gapid,ek9852/gapid,baldwinn860/gapid,ek9852/gapid