gmain: use atomic operation instead of GMutex to access g_main_context_default()
I think it is wasteful to use a mutex every time the default main context is accessed. Especially, as the default main context is used all the time.
I got triggered by the /* Slow, but safe */
comment.
Is this considered unsafe?