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/common/asm-generic/resource.h b/libc/kernel/common/asm-generic/resource.h
index c49b476..aa6078f 100644
--- a/libc/kernel/common/asm-generic/resource.h
+++ b/libc/kernel/common/asm-generic/resource.h
@@ -18,38 +18,38 @@
  ****************************************************************************/
 #ifndef _ASM_GENERIC_RESOURCE_H
 #define _ASM_GENERIC_RESOURCE_H
-#define RLIMIT_CPU 0  
-#define RLIMIT_FSIZE 1  
+#define RLIMIT_CPU 0
+#define RLIMIT_FSIZE 1
 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
-#define RLIMIT_DATA 2  
-#define RLIMIT_STACK 3  
-#define RLIMIT_CORE 4  
+#define RLIMIT_DATA 2
+#define RLIMIT_STACK 3
+#define RLIMIT_CORE 4
 #ifndef RLIMIT_RSS
 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
-#define RLIMIT_RSS 5  
+#define RLIMIT_RSS 5
 #endif
 #ifndef RLIMIT_NPROC
-#define RLIMIT_NPROC 6  
+#define RLIMIT_NPROC 6
 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 #endif
 #ifndef RLIMIT_NOFILE
-#define RLIMIT_NOFILE 7  
+#define RLIMIT_NOFILE 7
 #endif
 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 #ifndef RLIMIT_MEMLOCK
-#define RLIMIT_MEMLOCK 8  
+#define RLIMIT_MEMLOCK 8
 #endif
 #ifndef RLIMIT_AS
 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
-#define RLIMIT_AS 9  
+#define RLIMIT_AS 9
 #endif
-#define RLIMIT_LOCKS 10  
-#define RLIMIT_SIGPENDING 11  
+#define RLIMIT_LOCKS 10
+#define RLIMIT_SIGPENDING 11
 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
-#define RLIMIT_MSGQUEUE 12  
-#define RLIMIT_NICE 13  
-#define RLIMIT_RTPRIO 14  
-#define RLIMIT_RTTIME 15  
+#define RLIMIT_MSGQUEUE 12
+#define RLIMIT_NICE 13
+#define RLIMIT_RTPRIO 14
+#define RLIMIT_RTTIME 15
 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 #define RLIM_NLIMITS 16
 #ifndef RLIM_INFINITY