Avoid std::errc::protocol_* to appease mingw

Like r291636 and r285261.

llvm-svn: 291786
3 files changed