[PATCH v5 11/11] libnvdimm, pmem: Restore page attributes when clearing errors