deegree-sqldialect-postgis: Fix version detection

This fixes incompatibilties between PostGIS 2.x and components that can use this dialect, e.g. deegree-featurestore-sql.