[PATCH 5.15 529/530] gcov: support GCC 12.1 and newer compilers