Use the EGL pkgconfig for finding eglplatform.h.

We don't ever explicity link against libEGL, so no need to make use of
EGL_LIBS.

Fixes #30.
Fix context type detection if we find eglGetCurrentContext().

Fixes #29.