Fix egl dri2 DRI bind context
Based on a previous attempt of fixing a bug in dri2_make_current().
The three changes below address the feedback collected from @evelikov on the old mailing list thread. As far as I know in-tree drivers never fail from DRI bindContext(), but we know there is a bug and it should be fixed.