[PATCH 4.14 065/101] mtdchar: fix usage of mtd_ooblayout_ecc()