Fix authentication on hpux and Hurd
Fix authentication on hpux and Hurd

libxcb's 010e5661 (Fix XDM-AUTHORIZATION-1 (bug #14202)) mistakenly
inverted a few lines of code, making local socket authentication fail on
hpux and Hurd: when getpeername fails, sockname needs to be initialized
by getsockname before its address family can be checked.

Signed-off-by: Samuel Thibault <49a5ed162141aa1a2ad45c2f70540ac844521912@ens-lyon.org>
Signed-off-by: Julien Danjou <5c682c2d1ec4073e277f9ba9f4bdf07e5794dabe@danjou.info>

stapelberg/libxcb,stapelberg/libxcb,stapelberg/libxcb