When you have a known hardware bug like needing a nop after every mul, compilers can do this. You don't need to turn off mul entirely.
That being said, the disabling of MUL is being done at a software project level here, not by the CPU vendor. It's in the same linked commit that added in the NOP instructions to the arithmetic routines.