treewide: reduce includes of cache.h in other headers