driver: pmem: add PMEM_FLUSH

credit: agrabren