caps: Add GI friendly variants of make_writable () and copy()
Submitted by Thibault Saunier
Link to original bug (#710407)
Looks like the Rename to: annotation does not work in this case as the other variant
is not introspected at all, what do you suggest?
Another question is, couldn't we make those function not inlined?