[ftools,gdaltools] Errors in Merge Shapefiles and Split vector layer
* Fix #8120
* Fix #8119