liblog: Add Motorola requierd function to logd_write_kern

And fix CFLAG include

Change-Id: I1cb0a5d4c58c29a1caab65630c4884ca1ff21708