Fix gc issue for static property
Not set value to FX register
Add regression test case
Merge pull request #2222 from ke-yu/fix_staticproperty_gc

Fix memory management issue in static property