Fix bad mem access in board.c knight moves