fs/seq_file: fix out-of-bounds read