In the previous manga naruto said to obito that he had revived him and then he said 'but...' and Obito said he knows? Knows what? Madara turned into a shemale?
Apparently the effects of Rinne Tensei can't be reversed. Probably cause it's doujutsu related. Naruto was able to revive Gai due to the effects that happened on his body. Maybe, I'm just speculating.