Handle UndefinedValue when creating new class for IR runtime.
DynamicMethod subclasses may be private, so don't bind to them.
Fix defineAlias signature used from IR JIT.