wg: Trim compat shims for versions older than current stable/13.
Reviewed by: kevans, markj, emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36913
(cherry picked from commit 854d066251a9e1731993416b1934e2002a29d395)