Compatibility with Shapely >= 2.1 to avoid triggering a deprecation warning at
import (#542).
Fix reading with a skip_features larger than the available number of
features to ensure this consistently returns an empty result for all file
formats (#550).