Thomas Browne, 3rd Earl of Kenmare — (1789-1871), Army officer