Make the "Merge shapefiles" tool correctly handle features without geometries

At the moment, the fTools "Merge shapefiles" plugin will crash when trying to merge shapefiles that include features without geometries. This commit checks whether a feature has a geometry before trying to copy the geometry.