Fix a design flaw in osl_rbtree_loop() and osl_rbtree_loop_reverse().