add local hacks to get libc building on arm

Going in the wrong direction here, but then again it's good to
gain more perspective before feeding things into NetBSD.
Merge branch 'kernel-src' into buildrump-src