Gcode.Types.machine_state: Keep track of the line number