KVM: Remove ptr comparisons to 0