[PATCH OLK-5.10 369/370] gcov: support GCC 12.1 and newer compilers