This patch adds import libraries such as kernel32.dll to the list of modules stored in the PDB, similar to MSVC's link.exe.
Import libraries are first collected into a set and then output as "Import:AModuleNameHere.dll" into the list of modules in order to mimic MSVC's behaviour.
Fixes bug 36275:
https://bugs.llvm.org/show_bug.cgi?id=36275