c++: simplify TEMPLATE_TYPE_PARM level lowering