Support returning the new value from cache_add/cache_sub