Convert the xpt code to C++
Drop the obj argument to MaybeConstruct
Don't store a member nsXPTConstant