Variant of add_child that doesn't set the parent pointer in
the child.
This is useful while building a node tree, to get efficient
refcount garbage collection if the build stops abruptly.
fix_tree has to be called on the root node when the building
is done.