egl: Build egl_dri2 only when DRI drivers are built.