[PATCH 13/29] perf tools: Move headers check into bash script