Reapply "Enable DOS/Windows line-ending checks at patch-level"

Commit f75daf272507 ("Sync static check scripts with internal CI")
inadvertently overwrote the changes done in commit 246c2ad1865d.

Change-Id: Iee7ba34e5228cb890606be574a8fd4b6738ed416
Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
2 files changed