pfctl: Introduce copy_satopfaddr()
Move the same dance around v4/v6 for copying IP addresses from sockaddr
into pf_addr to avoid duplicate code and improve readability.
Feedback and OK bluhm
Obtained from: OpenBSD, kn <kn@openbsd.org>, 675ff33b8c
Sponsored by: Rubicon Communications, LLC ("Netgate")