Have Sparkle’s error codes be defined using NS_ENUM.

This has the benefit of setting their size/type (OSStatus), and more usable with Swift.