Fixes memory access violations triggered by running dlltool on fuzzed binaries.