Add field_write_barrier when an method is defined.
Bug fix.
Merge pull request #805 from masamitsu-murase/add_field_write_barrier_to_guard_method_from_gc

Add field_write_barrier when an method is defined.