This MR main goal is to implement properly dbghelp's
SymRefreshModuleList.
It also includes potential fixes for some spurious failures
in dbghelp tests on Windows 11 (to be verified).
It also tidies up the loader detection (ELF and Mach-O should
now behave in the same way).
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6825