Really fix #9366

pass a stack-copy of ctxThread in jl_throw_in_ctx to rec_backtrace_ctx

(cherry picked from commit 0b44aca52b968b0937739021dd65593589a462fd)

fix #7395, and copy just the useful parts of CONTEXT in jl_throw_in_ctx, before rec_backtrace_ctx destroys the recorded stack pointer

(cherry picked from commit ed5a8fcb93dbf12da53a51448251ec8c9dfedc42)

Conflicts:
	src/init.c

fix 32 bit oops from ed5a8fcb93
(cherry picked from commit a2ff1ea5a17fd1df930d662247b15428a9198c3d)

fix compiler warning on win32

(cherry picked from commit 0050b725d6052a72e8d1a07cce84238374fff153)