fix debug=t build

Change-Id: Ib50349da406ecff9979ac1ab522272694b69c2de
clang scan-build: various warnings

Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713
coverity#1224302 Uncaught exception

Change-Id: I622a7c41c9083f2deec21dc8c37572f978874127
coverity#706608 Uncaught exception

Change-Id: I26cf7c33089ddfcbb7faf81295b9a9776c6a9065
coverity#707290 Uncaught exception

Change-Id: If020fd537c15c41fe33134f554b7df1f10f18570
coverity#707416 Uncaught exception

Change-Id: I7c67c62622e2b46bc565ae148c1605f4954ffa39
coverity#983968 Uncaught exception

Change-Id: I0f5d8a72e545337525a90d86aa2fb87a180f4e63
coverity#706266 Uncaught exception

Change-Id: Iba3d2b8cddcd9e0f228d5b9fef1ce3290047c8b0
coverity#1213562 Uninitialized scalar field

Change-Id: I9a40cee6e807599e8e3d9f3df52186fd6226f7e1
coverity#1219805 Uninitialized scalar field

Change-Id: Id6b15e8515d73cb5bdf4bc6d02d235ebc7e282da
coverity#706020 Unintended sign extension

Change-Id: I30c097ac6731b742779af5528200ff99451d04b0
coverity#704987 Dereference after null check

Change-Id: I9c2b946ec3616a59ef06bf958ee4a81e1751e7ea
coverity#704986 Dereference after null check

Change-Id: I27aad830a4e211601a78a15b2eb42d44275f1abe