configure: add --enable-mesa

* define MESA_EGL_NO_X11_HEADERS in include/EGL/eglplatform.h
  unless there is --enable-mesa configure parameter

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>