Michael Stoneman hit his fifth first-class century before Durham set Yorkshire a victory target of 336 at Chester-le-Street.