[PATCH v2] libnvdimm: fix NULL ptr access in nvdimm_flush when region is disabled