[PATCH for-4.14.y+] mtd: keep original flags for every struct mtd_info