libdwfl: Add overflow check while iterating in dwfl_segment_report_module