egl/dri2: non-shared glapi cleanups