[PATCH v2] tools/testing/nvdimm: Use per-DIMM device handle