rust: Don't call libc::exit

This appears to eliminate the common errors with assertions failures
in rust_initialize_rt_tls_key.
auto merge of #9471 : brson/rust/rustexit, r=thestinger

This appears to eliminate the common errors with assertions failures
in rust_initialize_rt_tls_key.