Update according to Unified API changes in Xamarin.Mac.

These changes work with both the current 1.11.2 and upcoming changes in master.