glfw EGLView alloc on the stack to prevent memory leak