Merge pull request #8313 from haberman/ruby-crash-fix

[Ruby] Bugfix for Message.[] for repeated or map fields.