George Dundas, Lord Manor — Scottish judge