[Extensions] Build glib message pump on Ozone

The GLib mainloop is desired on the Extension Process (only) to ease
the integration with DBus based services.

The patch won't make glib the default, but will make it possible to use
it if explicitly declared.