deprecated threads: fix race in GStaticRecMutex
deprecated threads: fix race in GStaticRecMutex

The very last access to the 'depth' field of GStaticRecMutex in
g_static_rec_mutex_unlock_full() was being performed after dropping the
implementation mutex for the last time.

This allowed the lock to be dropped an additional time if it was
acquired in another thread right at that instant (which is somewhat
likely, since another thread could have just been woken up by the lock
being released).

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

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