[PATCH 5.10 083/139] nvmem: core: fix cell removal on error