[lit] Avoid __cmp__ and cmp().