storage: add empty primary key check

Groonga doesn't accept empty value for key. So Mroonga reports error for
empty primary key case.

[groonga-dev,02963]

Reported by kashihara. Thanks!!!