GRAPHICS: 64-bit compatibility fixes in vertex buffer v2.
Silence another int to ptr conversion warning, weird GL interface here.