pf: rewrite the pf_state_peer_ntoh and pf_state_peer_hton macros as functions.
I can read this code as functions, but it takes too much effort as macros.
Obtained from: OpenBSD, dlg <dlg@openbsd.org>, 4103306ead
Sponsored by: Rubicon Communications, LLC ("Netgate")