Fixed #22334 -- Postgis version regexp update to allow "dev" versions

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