[PATCH for 4.4 and 4.9] mtd: Fix comparison in map_word_andequal()