[PATCH OLK-6.6] mtd: core: avoid double-free of OTP NVMEM device