[MIPS] Emit madd.d for multiply-add on MIPS.

Based on commit 04586adf.
[MIPS] Optimise Math.floor(x/y) to use integer division for MIPS.

Use div instruction if some divisors do not have magic number.
Based on commit 318a9598.