[PATCH 1/3] libnvdimm: fix memleak in of_pmem.c