Phil Lord confirms that Ezra Miller will be playing Barry Allen in The Flash