Fix a panic if primary key is not integer.

Genmai panics if primary key is not integer.
Primary-key that is integer is added a option "autoincrement" by db.collectTableField(),  but db.collectFieldIndexes() is decide "autoincrement" without type checking.

So, I fixed this on PR.

thank you!