[PATCH] virsh: Simplify @flags handing in cmdSetmem() and cmdSetmaxmem()