The writer of Doctor Strange has defended the film from accusations of "whitewashing" over the casting of Tilda Swinton as a traditionally Tibetan character.