GORDON (afterwards DUFF GORDON), William (1772-1823), of Halkin, Ayr.