[PATCH 5.10] Makefile.compiler: replace cc-ifversion with compiler-specific macros