[PATCH 5.15 174/279] tools build: Fix removal of feature-sync-compare-and-swap feature detection