egl: move a few small functions into new eglmisc.[ch] files
5 files changed