[PATCH 4.9 38/67] mtdchar: fix usage of mtd_ooblayout_ecc()