Fix alter table with fulltext index which refer to table causes mysqld crash

refs #2327

[groonga-dev,02130]

Reported by Naoya Murakami. Thanks!