syntax: use UFCS in the expansion of `#[deriving(Ord)]`

cc #18755