libtracker-sparql: Avoid implicitly relying on hashtable iteration order
Recent GLib changed the hashtable hashing, thus changing the order in which the contents are iterated by a GHashTableIter. Avoid doing that in the one place we used to (also used to happen in previous vala code).