Clean up trailing whitespace in the kernel headers.

And fix the scripts so they stop letting trailing whitespace through.

Change-Id: Ie109fbe1f63321e565ba0fa60fee8e9cf3a61cfc
diff --git a/libc/kernel/arch-mips/asm/resource.h b/libc/kernel/arch-mips/asm/resource.h
index 1374d7d..8761697 100644
--- a/libc/kernel/arch-mips/asm/resource.h
+++ b/libc/kernel/arch-mips/asm/resource.h
@@ -18,12 +18,12 @@
  ****************************************************************************/
 #ifndef _ASM_RESOURCE_H
 #define _ASM_RESOURCE_H
-#define RLIMIT_NOFILE 5  
-#define RLIMIT_AS 6  
+#define RLIMIT_NOFILE 5
+#define RLIMIT_AS 6
 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
-#define RLIMIT_RSS 7  
-#define RLIMIT_NPROC 8  
-#define RLIMIT_MEMLOCK 9  
+#define RLIMIT_RSS 7
+#define RLIMIT_NPROC 8
+#define RLIMIT_MEMLOCK 9
 #define RLIM_INFINITY 0x7fffffffUL
 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 #include <asm-generic/resource.h>