Use atomic reference counting for GSource
If attached to a context already it would use a mutex instead but at least before that the reference counting is not thread-safe currently.
If attached to a context already it would use a mutex instead but at least before that the reference counting is not thread-safe currently.