egl/dri2: Refuse to add EGLConfigs with no supported surface types