rust: abort on panic in all profiles
Until https://github.com/rust-lang/rust/issues/52652 is fixed, unwinding on panic is potentially unsound in a mixed C/Rust codebase. The codebase is supposed to be panic-free already, but just to be safe. This started mattering at commit d1820c15. Fixes #27199; bugfix on tor-0.3.3.1-alpha.