Optimized fasta_read_next