Update ostruct.rb from 1.8.7-p358 to support modifiable.
21062: backport new yaml+syck from ruby 1.8.7p370.