Refactor read_lineno_record_1 in load.c