[mips] Implement llvm.trap intrinsic.

Patch by Sasa Stankovic.