Use GL debug callbacks

Implements https://github.com/mapbox/mapbox-gl-native/issues/668