libnvdimm, pmem, pfn: move pfn setup to the core