Fix subtle memory issues detected by valgrind.
Fix subtle memory issues detected by valgrind.

The size of dbus_bool_t and the size of bool are different.
The former is always 4, whereas the latter is usually 1.

The misuse of these types causes subtle memory issues
where some D-Bus functions read 4 bytes from a bool pointer,
or write 4 bytes to it. These functions take void* so
type checking didn't help.

TEST=tools/valgrind/valgrind.sh ninja/dbus_unittests
BUG=none


Review URL: http://codereview.chromium.org/7573001

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@95512 0039d316-1c4b-4281-b951-d872f2087c98

keishi/chromium,M4sse/chromium.src,dednal/chromium.src,crosswalk-project/chromium-crosswalk-efl,chuan9/chromium-crosswalk,jaruba/chromium.src,zcbenz/cefode-chromium,chuan9/chromium-crosswalk,dushu1203/chromium.src,keishi/chromium,markYoungH/chromium.src,zcbenz/cefode-chromium,crosswalk-project/chromium-crosswalk-efl,ltilve/chromium,anirudhSK/chromium,markYoungH/chromium.src,PeterWangIntel/chromium-crosswalk,littlstar/chromium.src,rogerwang/chromium,hgl888/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,Just-D/chromium-1,Fireblend/chromium-crosswalk,Fireblend/chromium-crosswalk,M4sse/chromium.src,Chilledheart/chromium,littlstar/chromium.src,ltilve/chromium,robclark/chromium,dednal/chromium.src,nacl-webkit/chrome_deps,ChromiumWebApps/chromium,fujunwei/chromium-crosswalk,M4sse/chromium.src,Fireblend/chromium-crosswalk,Pluto-tv/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ChromiumWebApps/chromium,jaruba/chromium.src,nacl-webkit/chrome_deps,mogoweb/chromium-crosswalk,zcbenz/cefode-chromium,pozdnyakov/chromium-crosswalk,krieger-od/nwjs_chromium.src,dednal/chromium.src,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,crosswalk-project/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,TheTypoMaster/chromium-crosswalk,M4sse/chromium.src,keishi/chromium,krieger-od/nwjs_chromium.src,patrickm/chromium.src,mohamed--abdel-maksoud/chromium.src,bright-sparks/chromium-spacewalk,markYoungH/chromium.src,chuan9/chromium-crosswalk,markYoungH/chromium.src,Chilledheart/chromium,timopulkkinen/BubbleFish,dushu1203/chromium.src,ltilve/chromium,timopulkkinen/BubbleFish,robclark/chromium,jaruba/chromium.src,dednal/chromium.src,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,mogoweb/chromium-crosswalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,mogoweb/chromium-crosswalk,markYoungH/chromium.src,nacl-webkit/chrome_deps,zcbenz/cefode-chromium,nacl-webkit/chrome_deps,robclark/chromium,anirudhSK/chromium,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,zcbenz/cefode-chromium,anirudhSK/chromium,patrickm/chromium.src,Pluto-tv/chromium-crosswalk,Pluto-tv/chromium-crosswalk,zcbenz/cefode-chromium,TheTypoMaster/chromium-crosswalk,nacl-webkit/chrome_deps,littlstar/chromium.src,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,bright-sparks/chromium-spacewalk,dushu1203/chromium.src,keishi/chromium,littlstar/chromium.src,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hujiajie/pa-chromium,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,littlstar/chromium.src,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk,M4sse/chromium.src,keishi/chromium,timopulkkinen/BubbleFish,crosswalk-project/chromium-crosswalk-efl,dushu1203/chromium.src,junmin-zhu/chromium-rivertrail,Chilledheart/chromium,M4sse/chromium.src,hgl888/chromium-crosswalk,M4sse/chromium.src,jaruba/chromium.src,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,keishi/chromium,dushu1203/chromium.src,ondra-novak/chromium.src,fujunwei/chromium-crosswalk,mogoweb/chromium-crosswalk,krieger-od/nwjs_chromium.src,axinging/chromium-crosswalk,ondra-novak/chromium.src,Just-D/chromium-1,robclark/chromium,hgl888/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,anirudhSK/chromium,bright-sparks/chromium-spacewalk,Just-D/chromium-1,Just-D/chromium-1,ltilve/chromium,hujiajie/pa-chromium,krieger-od/nwjs_chromium.src,pozdnyakov/chromium-crosswalk,ltilve/chromium,dednal/chromium.src,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,keishi/chromium,robclark/chromium,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Fireblend/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Chilledheart/chromium,axinging/chromium-crosswalk,rogerwang/chromium,Pluto-tv/chromium-crosswalk,fujunwei/chromium-crosswalk,hujiajie/pa-chromium,mogoweb/chromium-crosswalk,patrickm/chromium.src,mohamed--abdel-maksoud/chromium.src,fujunwei/chromium-crosswalk,bright-sparks/chromium-spacewalk,fujunwei/chromium-crosswalk,keishi/chromium,dushu1203/chromium.src,ondra-novak/chromium.src,patrickm/chromium.src,markYoungH/chromium.src,timopulkkinen/BubbleFish,ChromiumWebApps/chromium,M4sse/chromium.src,nacl-webkit/chrome_deps,robclark/chromium,zcbenz/cefode-chromium,hujiajie/pa-chromium,krieger-od/nwjs_chromium.src,patrickm/chromium.src,pozdnyakov/chromium-crosswalk,rogerwang/chromium,ltilve/chromium,fujunwei/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Jonekee/chromium.src,axinging/chromium-crosswalk,M4sse/chromium.src,zcbenz/cefode-chromium,dushu1203/chromium.src,jaruba/chromium.src,axinging/chromium-crosswalk,anirudhSK/chromium,axinging/chromium-crosswalk,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,dednal/chromium.src,hgl888/chromium-crosswalk,fujunwei/chromium-crosswalk,ChromiumWebApps/chromium,anirudhSK/chromium,hgl888/chromium-crosswalk,Chilledheart/chromium,Chilledheart/chromium,ondra-novak/chromium.src,dushu1203/chromium.src,mogoweb/chromium-crosswalk,Fireblend/chromium-crosswalk,mogoweb/chromium-crosswalk,robclark/chromium,jaruba/chromium.src,hgl888/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,axinging/chromium-crosswalk,dednal/chromium.src,dednal/chromium.src,patrickm/chromium.src,nacl-webkit/chrome_deps,hujiajie/pa-chromium,hgl888/chromium-crosswalk,chuan9/chromium-crosswalk,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk,Pluto-tv/chromium-crosswalk,ltilve/chromium,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,pozdnyakov/chromium-crosswalk,patrickm/chromium.src,rogerwang/chromium,rogerwang/chromium,anirudhSK/chromium,Jonekee/chromium.src,patrickm/chromium.src,robclark/chromium,ChromiumWebApps/chromium,markYoungH/chromium.src,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,rogerwang/chromium,ChromiumWebApps/chromium,zcbenz/cefode-chromium,junmin-zhu/chromium-rivertrail,markYoungH/chromium.src,ondra-novak/chromium.src,Just-D/chromium-1,Jonekee/chromium.src,mohamed--abdel-maksoud/chromium.src,PeterWangIntel/chromium-crosswalk,Jonekee/chromium.src,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,Fireblend/chromium-crosswalk,anirudhSK/chromium,pozdnyakov/chromium-crosswalk,jaruba/chromium.src,robclark/chromium,anirudhSK/chromium,Fireblend/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,chuan9/chromium-crosswalk,hujiajie/pa-chromium,bright-sparks/chromium-spacewalk,pozdnyakov/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,Jonekee/chromium.src,PeterWangIntel/chromium-crosswalk,Chilledheart/chromium,ChromiumWebApps/chromium,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,ondra-novak/chromium.src,dednal/chromium.src,mogoweb/chromium-crosswalk,nacl-webkit/chrome_deps,crosswalk-project/chromium-crosswalk-efl,patrickm/chromium.src,Jonekee/chromium.src,anirudhSK/chromium,Fireblend/chromium-crosswalk,dushu1203/chromium.src,timopulkkinen/BubbleFish,Chilledheart/chromium,timopulkkinen/BubbleFish,keishi/chromium,junmin-zhu/chromium-rivertrail,hujiajie/pa-chromium,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,dushu1203/chromium.src,PeterWangIntel/chromium-crosswalk,jaruba/chromium.src,hgl888/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,rogerwang/chromium,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,hujiajie/pa-chromium,jaruba/chromium.src,Just-D/chromium-1,mohamed--abdel-maksoud/chromium.src,axinging/chromium-crosswalk,Chilledheart/chromium,fujunwei/chromium-crosswalk,mogoweb/chromium-crosswalk,Just-D/chromium-1,PeterWangIntel/chromium-crosswalk,hujiajie/pa-chromium,dednal/chromium.src,TheTypoMaster/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,ChromiumWebApps/chromium,robclark/chromium,pozdnyakov/chromium-crosswalk,rogerwang/chromium,chuan9/chromium-crosswalk,chuan9/chromium-crosswalk,Jonekee/chromium.src,markYoungH/chromium.src,Jonekee/chromium.src,Just-D/chromium-1,TheTypoMaster/chromium-crosswalk,axinging/chromium-crosswalk,chuan9/chromium-crosswalk,ltilve/chromium,TheTypoMaster/chromium-crosswalk,hgl888/chromium-crosswalk,nacl-webkit/chrome_deps,ondra-novak/chromium.src,rogerwang/chromium,axinging/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hujiajie/pa-chromium,rogerwang/chromium,mohamed--abdel-maksoud/chromium.src,dednal/chromium.src,ondra-novak/chromium.src,zcbenz/cefode-chromium,anirudhSK/chromium,Fireblend/chromium-crosswalk,markYoungH/chromium.src,littlstar/chromium.src,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,pozdnyakov/chromium-crosswalk,keishi/chromium,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,littlstar/chromium.src,Just-D/chromium-1,ltilve/chromium,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,keishi/chromium,markYoungH/chromium.src,junmin-zhu/chromium-rivertrail,timopulkkinen/BubbleFish,littlstar/chromium.src,jaruba/chromium.src,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk-efl,ChromiumWebApps/chromium