Split out code from ctx_correct.c -> src/tools/correct_reads.{c,h}