[PATCH 4.14 090/191] mtd: mtdoops: Dont write panic data twice