MIPS: use inline asm only when supported by compiler