This fixes PR gcov-profile/54487 where the gcda files were not locked by the profile...