Qualify references to the ATN class to avoid symbol conflicts with tokens named ATN (fixes #561)