os/xdmcp: Fix binding of ipv6 source address

Choose the socket fd of the correct address family based
on the address family of the argument to the -from option.

Fixes: xorg/xserver#4
1 job for master in 2 minutes and 8 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Test
passed #34199
job

00:02:08