[libvirt] [PATCH] test_driver: consider flags in testDomainSetMemoryFlags