cache.h: remove unused "the_index" compat macros