[PATCH 5.8 337/633] mtd: mtdoops: Dont write panic data twice