Add .gitattributes to force LF line endings in the repo
(cherry picked from commit 396c75dd59e2597f5ed0d1d6ac5ba2b34d6c8afd)
Normalize line endings