Bug fix with ordinal loading in remote processes

Thanks to sixdub for finding and fixing a bug with resolving functions
by ordinal name in remote process injection.