Evolution of impatience: The example of the Farmer-Sheriff game