[PATCH v7 12/16] libnvdimm: namespace indices: read and validate