Compute correct symbol sizes for MachO and COFF.