Burnett, James, active 1777-1828, Scottish Judge as Lord Monboddo