Don’t sleepwalk into war over N Korea, warns UN boss