Replace usages of deprecated AssertLegacyTrait::assert(No)FieldChecked()