Athletic Bilbao striker Fernando Llorente has confirmed he will leave the club when his contract expires at the end of the season.