[PATCH 4.17 100/220] mtd: cfi_cmdset_0002: Change write buffer to check correct value