gcov: compile specific gcov implementation based on gcc version