kernel: fix mtd/NVMEM regression affecting U-Boot env NVMEM driver