Ignore geometry-less features when calculating layer extent (Fix #8805)