Nissan heads for third consecutive loss on chip shortage