gobject: Use auto-compartment on object when setting property
When binding a property inherited from the object to another gobject property added in Javascript, it could happen that gjs crashes when setting the property.
So enter a new compartment when doing this.
Fixes #246 (closed)