Fix a bug that removing DB that uses DAT key may remain garbage

Note: This is not a comment for this commit. I forget to write a
comment in the previous commit (723a77f). So I write a comment for the
previous commit in the commit.

The problem fixed in the previous is reported by Eito Katagiri at
https://github.com/ranguba/rroonga/issues/13 . Thanks!!!