devel/thrift-c_glib: Fix build with openssl3
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation