Anglo Asian swings to loss on falling gold output