virsh.edit: New cases for editing memory value and memory unit

Signed-off-by: Yanbing Du <ydu@redhat.com>