David William Murray, 3rd Earl of Mansfield — British army officer and peer (1777-1840)