CVE-2025-38321 smb: Log an error when close_all_cached_dirs fails