mir: don't swap buffers when painting with gl

This seems to break forever the egl_swap_buffers_with_damage support,
but fixes rendering issues we had before.
mir: use more g_clear_pointer
mir: don't send buffers when using gl_painting on show also