zobrist: add bound checking
search.c: fix comment