[GCI2014] Implement EGL in Haiku's Mesa port

http://www.google-melange.com/gci/task/view/google/gci2014/5869503078465536