Fix ELF and HEX file format parsers' segment data.