record: avoid leak when adding already cached owned record

https://github.com/pavouk/lgi/issues/70
Avoid leak when retrieving Variant from Value

This is fallout from fixing https://github.com/pavouk/lgi/issues/70