cache: reimplement cache_lookup_nomakeentry as cache_remove_cnp
This in particular removes unused arguments.