libc: use standard LF line endings, not CRLF
(cherry picked from commit 29e54af43ee06ed5636b9f567795cd271efc1ef7)