Fix #1031 - incorrect call offsets calculated in DOS EXEs

Also fix the incorrect MZ entrypoint calculation.