Sir William Broun, 9th Baronet — Scottish lawyer (1804-1882)