GTree: switch to GSlice, add refcounts (#587773)