Add HTC Logging functions to support newer HTC props.

* ifdef'd with HTCLOG.

http://review.cyanogenmod.org/#/c/76411/

Change-Id: I70d0a6878dddf0f41d96735febda82c93496d8ec