James Dunlop, 3rd of Garnkirk - (1655-1719)