Explicitly pass ABI flags for MIPS.
Similar to r308711, set the desired ABI explicitly for MIPS targets.
This better supports external toolchains whose default ABI may differ
from the desired ABI. In particular, one can now build o32, n32, and
n64 binaries with mips-gcc from ports after this change.
Similarly, explicitly pass the desired linker emulation already defined
in LD_EMULATION when linking kernels and kernel modules. This permits
linking kernels with a non-default ABI.