Improved itemdb converter robustness in case of extra spaces

- Thanks to GM.PiXeL for reporting the issue.

Signed-off-by: Haru <haru@dotalux.com>