ELFFile: allow filtering by segment type in iter_segments() (#375)