btree: export btree_get_prev() so modules can use btree_for_each