Markets in Asia traded mixed on Wednesday, with Japanese shares gaining on the back of a weaker yen.