[libvirt PATCH 09/14] api: virDomainMemoryStats: use 'ret' variable