fix export directory processing

fix export directory processing (then number of functions is not same as
number of names).
note that PE specification has bug : ordinal base has no effect and
shouldn't be subtracted.