A backport of Exception#cause from Ruby-2.1.0