[mkbundle] Remove broken win32 code.
Add API to get more data from a managed exception's stack trace.

This is used by crash reporting to report the stack trace of the exception
when the exception was thrown (for unhandled exceptions), instead of the
stack trace when the unhandled exception hook is called (which may be
different because finally clauses may have executed altering the intial
stack state).