Gibbs, William C. (William Channing), 1789-1871