ir: Add an isScope field to CallableType.