chore: borrow .gitattributes file from jQuery.

Specify line endings for Windows builds.

Closes #10431