Maitland, Thomas, Sir, active 1808-1812, Lieutenant-General