Patterson, James, active 1802-1821, Lieutenant 50th Foot