The author not rejecting to the illustrations and casting doesn't change the text though, and it's the text that's important to this discussion. Yes, as she's the closest thing in the book to an author stand-in Rowling probably wrote Hermione as a white girl. But that doesn't mean the text explicitly says she's a white girl, which is why the black Hermione thing is valid.