devel/rubygem-google-protobuf*: fix segfaults caused by public symbols
If more than one version of this gem is installed it causes segfaults.
The problem is reported also here:
https://gitlab.com/gitlab-org/gitlab/-/issues/345693
I created a merge request upstream for this patch:
https://github.com/protocolbuffers/protobuf/pull/10832
https://github.com/protocolbuffers/protobuf/pull/11029
PR: 266925
Approved by: sunpoet (maintainer timeout)
Differential Revision: https://reviews.freebsd.org/D37140