Add a finally impl for `extern "Rust" fn()`
auto merge of #7056 : alexcrichton/rust/issue-4727, r=graydon

Closes #4727