Makdougall, Henry Hay, Sir, 1752-1825