Implment support for mixed type comparisons in == and !=.