Supergirl's screenwriter, Ana Nogueira, explained why she deviated from the source material and changed the fates of several characters.