[PATCH 6.12 058/277] tools build: Align warning options with perf