egl: Refactor _eglInitContext.

Refactor attribute list parsing code to _eglParseContextAttribList.  Add
a check to make sure the config supports the client API.
1 file changed