[Bug 1172411] gcc 10 produces bogus stringop-overflow warnings