kcmp: fix standard comparison bug