Fixed #23950 -- Don't call deconstruct on classes in MigrationWriter

https://code.djangoproject.com/ticket/23950