Fixed OS X compilation (works at least on 10.9 now).

All of that s6_addr32 magic a) wasn't needed (there was just one place using it), and b) didn't seem to even work.

Also in gateway.c I think there was even wild typecasting caused (platform independent) bug as it used sockaddr_in6 as if it was in6_addr.