cache: constify entry and host pointers in struct cache_entry