Fix coverity issues

:Release Notes:
Fix coverity issues

:Detailed Notes:
Fix redefine warnings LOG_* macro
Fix build warnings

:Testing Performed:
Perform build

:QA Notes:

:Issues Addressed:
[BHV-13268] Fix static analysis issues in activitymanager

Open-webOS-DCO-1.0-Signed-off-by: seokjun.lee <sseokjun.lee@lge.com>

Change-Id: Idc6c87379c1478b787483b5f4127d54aeabc288c
Reviewed-on: https://g2g.lgsvl.com/6457
Reviewed-by: DCO Verification
Reviewed-by: seokjun lee <sseokjun.lee@lge.com>
Tested-by: seokjun lee <sseokjun.lee@lge.com>
Reviewed-by: Seokwon Seo <nathan.seo@lge.com>
Reviewed-by: Meekyung Lim <meekyung.lim@lge.com>
Reviewed-by: Taegyu Kim <taegyu74.kim@lge.com>
Merge remote-tracking branch 'origin/develop'