nir/lower_idiv: Port recent LLVM fixes to emit_udiv