make_transient_cache_entry(): optionally alloc from mem_pool