AR specific length validator to respect `marked_for_destruction`.

Closes #7247.

Conflicts:
	activerecord/CHANGELOG.md
	activerecord/test/models/owner.rb