[PATCH 5.4 209/408] mtd: mtdoops: Dont write panic data twice