[PATCH 6.6 353/603] libnvdimm/of_pmem: Use devm_kstrdup instead of kstrdup and check its return value