[PATCH 6.12 258/269] kbuild: hdrcheck: fix cross build with clang