std: make std::io::IoError{,Kind} implement Eq
auto merge of #15653 : erickt/rust/master, r=alexcrichton