Fix utils.gen.safeEval to work with instances of ast.NameConstant (introduced in Pythn 3.4).