libnvdimm, pmem: use nvdimm_flush() for namespace I/O writes