Merge pull request #18191 from protocolbuffers/cp-ruby-upb

Fix a potential Ruby-upb use of uninitialized memory.