gschem: Update optional debug printing to work with the latest code