lib/glesv2: add glCheckFramebufferStatus