As Kristof Provost proposed in D36277, here is the patch from OpenBSD removing the struct pfsync_pkt, applied to the current main branch of FreeBSD.
I did a round of basic testing and pfsync works between two hosts on a kernel built with these patches.
Sponsored by: InnoGames GmbH
Obtained from: OpenBSD