dri_util: Disable GL_ARB_compatibility for OpenGL 3.1
The 74f96b06 changed egl behavior to return 3.1 context without GL_ARB_compatibility and this fixed some egl tests.
I've made the same change in GLX which fixes KHR-GL31.texture_size_promotion.functional.
However I don't think it's a good way to fix the tests because tests themselves should handle the presence of GL_ARB_compatibility (I don't know about egl tests but it's true for KHR-GL31.texture_size_promotion.functional which just doesn't handle it).