Fixed the bug in tree_traverse()

To tree_node_min() function call, 'tree' was
passed as argument instead of 'tree->root'.