egl_dri2: Fix incompatible vfunc-pointer warning