samples/games/chess: Fixed AI stuck on queening pawn