Rotating metric in nonsingular infinite derivative theories of gravity