The Roald Dahl Museum has condemned the racism of the author in a new statement.