[PATCH 3.18 05/31] lib/interval_tree_test.c: allow users to limit scope of endpoint