explicit casts for MSVC

extern C on jl_sysimage_name

increase stack size when linking
attempt to get setjmp and longjmp assembly working in MSVC

add .586 to assembly files for masm
add a public-domain getopt implementation from newlib

for MSVC use, see https://sourceware.org/newlib