Global markets are heading for a third consecutive day of losses amid growing tensions between North Korea and the U.S.