[libvirt] [PATCH] virDomainMemoryStats: avoid null dereference