Fix g_hash_table_foreach crash with NULL hash table
Fix g_hash_table_foreach crash with NULL hash table

When G_DISABLE_ASSERT is not defined, g_hash_table_foreach and
g_hash_table_find dereferences the hash table argument before
checking if it's NULL. This causes a crash when one of this function
is mistakenly called with a NULL argument instead of returning
with a warning through g_return_if_fail.

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