NMR study on the metal-insulator transition of (Cu1−xNix)Ir2S4