[PATCH 5/7] hyperv: refactor hypervDomainSetMemoryProperty