[PATCH 6.18 324/430] tools/testing/nvdimm: Use per-DIMM device handle