Fixes Atelier Yumia: The Alchemist of Memories & the Envisioned Land crashing on start with builtin msvcp140.dll.
The relevant deference introduced by this change is that _beginthreadex() takes the reference to the dll containing thread procedure (which turns out to be the case as well for msvcp140._Thrd_start).
A puzzling bit is that msvcp140._Thrd_create doesn't take the reference to the dll on Windows (the same test as included crashes when trying to use that instead of _Thrd_start. With this change in mscp140.dll that is also the case with Wine. From the Wine code that happens so because _Thrd_create passes wrapper function to _Thrd_create (which function is in msvcp140 and not in the user dll). Absence of the similar module reference on user function's dll from _Thrd_create doesn't make much sense to me but that's what I've got with the tests.