crazy linker: cleanup, fix logs not terminated with \n.

Change-Id: I7cf19c479b4f9bec3e36d5db8bd958f1d49d2b58
Merge "crazy linker: cleanup, fix logs not terminated with \n."
Merge branch 'master' of https://android.googlesource.com/platform/ndk into HEAD