Use the platform api from mesa
Added gbm buffer
Changed monitor to use the gbm buffer