egl/dri2: use the correct screen index