mesa: fix glGetInteger64v for arrays of integers