s3: Replace a SMB_ASSERT with an error return