Results 2 issues of DJATOM

As Patman asked, I dug into it and spent a half day fighting with `getVSScriptAPI` procedure. For some reason `GetProcAddress` getting weird results (and heap corruption) if we load it...

https://github.com/DJATOM/x265-aMod/blob/4c4aee0bce47609d45fcec2894344ea8a411c7dd/source/common/param.cpp#L1989