glcontext_eagl: port to new framebuffer API
glcontext_eagl: port to new framebuffer API

Also makes use of init_framebuffer().

gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl