On the Haagerup inequality and groups acting on $\tilde{A}_n$-buildings