The cast of The CW's The Flash, Arrow, Supergirl and DC's Legends of Tomorrow stopped by EW's photo studio during Comic-Con for an exclusive photo shoot