egl/x11: Declare EGLConfig attrib array inside loop