Pies AFL veteran Varcoe to have surgery