smb: Fix regression in writes when non-standard maximum write size negotiated (CVE-2024-26692) | HOL Guard CVE