[PATCH 5.15 132/244] libnvdimm/of_pmem: Use devm_kstrdup instead of kstrdup and check its return value