Logd: Handle unused variable and fields

(cherry pick from commit d75564f9b88437446b44ce1035f82c005828ae9b)

For build-system CFLAGS clean-up.

Bug: 18632512
Change-Id: If81d6705b44e9a29f64c44c56ea633c031e831b7
4 files changed