gsettings tool: fix a memory error
gsettings tool: fix a memory error

8852d4e9a08e7fbc9df7fb99a54b112f5049ee19 introduced a memory error by
taking the type of a GVariant, freeing the GVariant and using the type
after the free.

This delays the free until after we've used the type.

https://bugzilla.gnome.org/show_bug.cgi?id=669253

pstglia/external-bluetooth-glib,johne53/MB3Glib,darren-clark/android_platform_external_bluetooth_glib,pstglia/external-bluetooth-glib,djdeath/glib,tamaskenez/glib,bluez-android/glib,darren-clark/android_platform_external_bluetooth_glib,mzabaluev/glib,iConsole/Console-OS_external_bluetooth_glib,iConsole/Console-OS_external_bluetooth_glib,endlessm/glib,cention-sany/glib,mzabaluev/glib,johne53/MB3Glib,ieei/glib,krichter722/glib,pstglia/platform-external-bluetooth-glib,cosimoc/glib,lukasz-skalski/glib,tamaskenez/glib,bluez-android/glib,cention-sany/glib,pstglia/platform-external-bluetooth-glib,01org/android-bluez-glib,lukasz-skalski/glib,tchakabam/glib,lukasz-skalski/glib,darren-clark/android_platform_external_bluetooth_glib,tchakabam/glib,Distrotech/glib,krichter722/glib,bluez-android/glib,lukasz-skalski/glib,iConsole/Console-OS_external_bluetooth_glib,tchakabam/glib,cosimoc/glib,ieei/glib,djdeath/glib,cosimoc/glib,ieei/glib,iConsole/Console-OS_external_bluetooth_glib,djdeath/glib,tamaskenez/glib,johne53/MB3Glib,justinkb/aosp-bluez.glib,johne53/MB3Glib,cention-sany/glib,cention-sany/glib,MathieuDuponchelle/glib,gale320/glib,krichter722/glib,tamaskenez/glib,justinkb/aosp-bluez.glib,mzabaluev/glib,tamaskenez/glib,pstglia/platform-external-bluetooth-glib,MathieuDuponchelle/glib,gale320/glib,endlessm/glib,justinkb/aosp-bluez.glib,Distrotech/glib,Distrotech/glib,tchakabam/glib,01org/android-bluez-glib,johne53/MB3Glib,djdeath/glib,iConsole/Console-OS_external_bluetooth_glib,endlessm/glib,bluez-android/glib,krichter722/glib,01org/android-bluez-glib,01org/android-bluez-glib,pstglia/platform-external-bluetooth-glib,pstglia/external-bluetooth-glib,darren-clark/android_platform_external_bluetooth_glib,pstglia/external-bluetooth-glib,MathieuDuponchelle/glib,endlessm/glib,ieei/glib,MathieuDuponchelle/glib,justinkb/aosp-bluez.glib,krichter722/glib,Distrotech/glib,endlessm/glib,gale320/glib,gale320/glib,01org/android-bluez-glib,gale320/glib,MathieuDuponchelle/glib,johne53/MB3Glib,ieei/glib,lukasz-skalski/glib,justinkb/aosp-bluez.glib,mzabaluev/glib,cosimoc/glib,bluez-android/glib,cention-sany/glib,pstglia/platform-external-bluetooth-glib,mzabaluev/glib,djdeath/glib,cosimoc/glib,darren-clark/android_platform_external_bluetooth_glib,pstglia/external-bluetooth-glib,Distrotech/glib,tchakabam/glib