Add support for marshalling native exceptions to Xamarin.Mac.