[kernel] move the forward declaration of struct mtd_info, prevents build failures...