This adds MSVCRT style SSP support (/GS). This is incomplete as the cases where
it triggers is not as comprehensive as what MSVC does. This simply sets up the
prologue and epilogue appropriately for the use of the "Buffer Security Checks"
in MSVCRT. It triggers only on MSVCRT style Windows targets (i.e. it excludes
MinGW/cygwin).
The use of the llvm.stackprotector intrinsics was avoided as the implementation
details of SSP is different on Windows. A future change could rename the
current SDAG node and construct a new one specific for the windows behaviour if
the SDAG approach is preferable. This seems just as clean as we can fully
describe the necessary behaviour in LLVM IR.
A special thanks to David Majnemer for pointing out the need for inreg on
parameters for fastcall.