Fixed #23731 -- Fixed migrations crash when adding blank GeometryFields on PostGIS.

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