Compatibility with Source engine
The changes in this MR are necessary for Source-based games to run through gcompat.
- There are a few changes to formatting, seemingly because source wasn't formatted by the previous contributor.
- Current implementation of __strncat_chk would cause assertion error in Source.
- __wcscat_chk and __wcsncpy_chk couldn't be found by dynamic linker.