libtracker-data: Don't rely on hash table iteration order being stable

This is the same problem that was fixed by
c58f7aa4 on master. Instead of relying
on hash table iteration being stable, pass the GVariantBuilder down and
add directly to it in the right order.
3 jobs for hashtable-ordering-2.1 in 9 minutes and 38 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Test
passed #212597
test-autotools-fedora-latest

00:06:36

passed #212601
test-meson-fedora-latest

00:03:01

failed #212598
test-meson-fedora-latest

00:02:20