Fix array out-of-bound access in cpu/hamaji/field.cc