DWARFProducer: Fix a bug where we would run off the end of the sections list.