util/disk_cache: Fix disk_cache_get_function_timestamp with disabled cache.