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

For example, the surfaceless platform only supports pbuffers. If the
driver supports MSAA, we would still create a config, but it would have
no supported surface types. That's meaningless, so don't do it.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
22 jobs for !1918 with egl-require-a-supported-surface-type in 16 minutes and 4 seconds (queued for 10 seconds)
merge request