Fix for UB in failure to catch panics crossing FFI boundaries
Details
Affected versions of this crate failed to catch panics crossing FFI boundaries via callbacks, which
is a form of UB. This flaw was corrected by this commit which was included in version 2.6.0.