Replace deprecated GetMacOSStatusCommentString() with NSError using NSOSStatusErrorDomain