Apply object tracing mark patch from upstream Ruby
Original commit: https://github.com/ruby/ruby/commit/7a58ee9b962ad0072e5213d3512c809048e4eba1
This might fix gitlab#350296 (closed)
It's an alternative attempt to guarding the VALUE
as done in !474 (merged)