(#22363) Fix faulty references to Puppet::AST

There were references to Puppet::AST, the name is actually
Puppet::Parser::AST - but the long references were not needed - the
class it is instantiating is in the same name space.