[PATCH AUTOSEL 5.0 35/67] perf tools: Fix errors under optimization level '-Og'