Rafael Nadal said his season was over after injuries to his knees hampered his movement during his loss to David Goffin.