All uses of `extern fn` should mean `extern "C" fn`. Closes #9309.
auto merge of #12328 : nick29581/rust/abi, r=alexcrichton
Fix stack overflow