shared: add nm_auto_unset_gvalue macro