Former Sunderland goalkeeper Craig Gordon may be forced into an early retirement by a persistent knee injury.