Merge pull request #7587 from gilles-peskine-arm/gitignore-objects-at-root-2.28

Backport 2.28: Ignore *.o everywhere