My bad. Didn't mean to break any rules, I just found this page when Googling the problem and wanted to add a solution. Here is a quick ruby script to patch the DLL instead.
Just install ruby (https://rubyinstaller.org/) create a file called "patch.rb" in the Demul plugins folder, copy the above code into the file and save it, and then run the "patch.rb" file. That should also fix the issue.
Edit: Oh, also should mention the patch applies specifically to Demul build 111117, which you can find here: http://demul.emulation64.com/files/demul07_111117.7z