Merge from matt-nb5-mips64
branches: 1.1.40;Merge libkern + libc common files. As requested by core.
First pass at making ABI agnostic. Generates same O32 code.