Fix pe_get_exports: index function RVA table with ordinal

A bug in parsing DLL exports: same index i is used to access the name, ordinal and function tables. Function table must be indexed with the ordinal instead. Without this, the symbols from DLL exports are messed up.