fix QChem output parsing bug with ghost atoms