[PATCH 6.1 187/208] nvmem: core: fix registration vs use race