Implement TotalEq and TotalOrd for Timespec

There's a test making sure that Ord works, so the order dependence
shouldn't be an issue
auto merge of #12906 : sfackler/rust/timespec-total, r=thestinger