(Reuters) - Microsoft Corp reported a quarterly loss on Wednesday, hurt by a $13.8 billion charge related to U.S. tax reform.