ir: Make ClassLiteral take a TypeReference, for consistency.