hxtool: Fix line number reporting on SQMP/EQMP errors