ir: Add buildMemberCall function to ir.util.
semantic: Rewrite new Clazz calls.