[PATCH 4.15 070/105] mtdchar: fix usage of mtd_ooblayout_ecc()