Port GHashTable to gatomicrefcount

Use the newly added API for reference counting instead of rolling our
own.
6 jobs for refcount-types in 20 minutes and 23 seconds (queued for 11 seconds)