Implement cmp traits for Rc<T> and add a ptr_eq method.