s3: nmbd: Ensure we only set work_changed = true if we modify the record.