Ross, Patrick, Sir, 1778-1850, GCMG, Major-General