postgres provider: speedup loading of layers by not verifing srid and geometry if given in the uri (fixes #9510)