message: Fix querying atomic counter buffer info
  Since GLES doesn't support glGetActiveAtomicCounterBufferiv we use
  glGetProgramResourceiv instead.
diff: @@ -2103,6 +2103,20 @@ void GetBindpointMapping(const GLHookSet &gl, GLuint curProg, int shadIdx, Shade
  mapping.ReadWriteResources[i].arraySize = 1;
  }
  else
  + {
  + if(IsGLES)
  + {
  + prop = eGL_BUFFER_BINDING;
  + mapping.ReadWriteResources[i].bindset = 0;
  + gl.glGetProgramResourceiv(curProg, eGL_ATOMIC_COUNTER_BUFFER, atomicIndex, 1, &prop,
  + 1, NULL, &mapping.ReadWriteResources[i].bind);
  + GLint used = 0;
  + gl.glGetProgramResourceiv(curProg, eGL_ATOMIC_COUNTER_BUFFER, atomicIndex, 1,
  + &refEnum[shadIdx], 1, NULL, &used);
  + mapping.ReadWriteResources[i].used = (used != 0);
  + mapping.ReadWriteResources[i].arraySize = 1;
  + }
  + else
  {
  const GLenum atomicRefEnum[] = {
  eGL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER,
  @@ -2117,12 +2131,14 @@ void GetBindpointMapping(const GLHookSet &gl, GLuint curProg, int shadIdx, Shade
  eGL_ATOMIC_COUNTER_BUFFER_BINDING,
  &mapping.ReadWriteResources[i].bind);
  GLint used = 0;
  - gl.glGetActiveAtomicCounterBufferiv(curProg, atomicIndex, atomicRefEnum[shadIdx], &used);
  + gl.glGetActiveAtomicCounterBufferiv(curProg, atomicIndex, atomicRefEnum[shadIdx],
  + &used);
  mapping.ReadWriteResources[i].used = (used != 0);
  mapping.ReadWriteResources[i].arraySize = 1;
  }
  }
  }
  + }
  else
  {
  // shader storage buffer object
  