Casting to GLsizeiptr

Closes https://github.com/PistonDevelopers/opengl_graphics/issues/20