pg2ogr: fix deleting layers with 0 features