Benson, Richard, 1785-1858, army officer