Handle bool comparison in uvm_comparer.