[PATCH 6.17 094/371] tools build: Align warning options with perf