Add cond_set/4 for conditionally updating a value in the cache