security/p5-Net-SSLeay: Fix build with LibreSSL 3.5

From: Roger Marquis <marquis_at_roble.com>
Date: Sun, 30 Oct 2022 19:14:59 UTC
Anyone able to commit this?  Has been tested and pending for a few
months now:

   https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259213

Roger Marquis