detect_windows_bitness_inconsistency

Improve error reporting when emscripten link step fails. In particular on Windows detect wrong bitness combinations of the toolchain that can cause python -> llvm-link invocation to fail on Windows with a 'Error 6: handle is invalid' error message.