Fixes some test failure on NetBSD/i386-curent

Hi.

Some tests of gauche fails on recent NetBSD/i386-current.  Here is possible fix for them.
I'm glad if those changes are merged.  The errors are briefly described here https://github.com/enami/Gauche/issues/1