McD posts second-ever quarterly loss on one-time charges