[TableGen] Replace some calls to ListInit::getSize() with ListInit::empty() if it...