perf tools: Initialize output buffer in build_id__sprintf