what was the year of the finish with the class pos of 6th and laps smaller than 317?
none