Stuart, James, active 1782-1826, Lieutenant-General Commander in Chief Madras