[PATCH 4.9 50/51] kbuild: fix linker feature test macros when cross compiling with Clang