Sunderland have agreed a deal to sign Le Havre teenager Benjamin Mendy, according to the French club.