Edmonstone, Archibald, Sir, 1717-1807