nvmem: core: add an index parameter to the cell