ir: Add stub for Constant.