Coverity issue fixes

:Release Notes:
Coverity issue fixes

:Detailed Notes:
Fixed coverty issues classified under header:
uninitialized scalar field, unintentional integer overflow,
negative argument passed, bad override.

:Testing Performed:
Compiled locally,tested on official build.

:QA Notes:

:Issues Addressed:
[GF-54088] mojoservicelauncher: Coverity issues to be fixed
Open-webOS-DCO-1.0-Signed-off-by: Ashish Sadre <ashish.sadre@lge.com>

Change-Id: Idcb6bc9b1886ae98a9e1383db2a34a244e4bb421
Reviewed-on: https://g2g.palm.com/4133
Reviewed-by: DCO Verification
Reviewed-by: Ashish Sadre <ashish.sadre@lge.com>
Tested-by: Ashish Sadre <ashish.sadre@lge.com>
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>