Chris Woakes says rehabilitation "could be a risk he's willing to take" to be fit for the Ashes, rather than having surgery on his shoulder injury.