libvirt.virsh: virsh_setmem: Fix typo and comparison