egl: Parse image attributes with  _eglParseImageAttribList.

Avoid code duplications.
4 files changed