[APINotes] Fix mis-annotated error code enums.
Some files accidentally /renamed/ the enums using SwiftName rather than
associating them with an error domain constant. Amazingly, we've gotten
no complaints about this.
(cherry picked from commit 3e6fa8b275b14a80676c3cd4b7042a90e1335a64)