Fix linking errors from paths not being found with clang in LLVM, or found incorrect, causing link errors

REFERNCE MODIFIED AOSP COMMIT:
Change-Id: I58d739e61fb013015fb05a9c98b2132b307f915a
https://github.com/android/platform_build/commit/48f239c94faca140427afc9aa06cf356b1b6b0de
Disable canonical prefixes of system headers

GCC know a few pre-defined paths (relative to its location) to
search for headers, libraries, program, etc.  By default GCC prefixes
its own path(argv[0]) and calls realpath() which result in absolute
path with all symlink, . and .. removed.

It's usually good to have canonicalised paths, but absolute paths
in *.d file can cause unnecessary relinking when stale entries
in ccache cache hit

Add -no-canonical-prefixes (gcc>=4.6) and
-fno-canonical-system-headers (gcc>4.6) to disable realpath() on
prefixed paths

Change-Id: I42d5ecde579fe3f3cd36bff88ca30a2c0d6c4489