CTest: Fix GTM coverage parsing line offset bug

In cmParseGTMCoverage::ReadMCovFile, initialize the lineoffset variable.
Also set lastoffset only if the function is found (thanks to Bill
Hoffman).
Merge topic 'ctest-gtm-coverage-fileoffset-bug' into next

782eba3 CTest: Fix GTM coverage parsing line offset bug