tools: Consolidate gcov handling