Fixed bench_line_reading.py

`Buffer.alloc` should be `Buffer.allocate`.