From Middle English kilne, from Old English cyln, cylen, cylin (“large oven, kiln”), from Latin culīna (“kitchen, kitchen stove”).
Middle English -ln(e) usually becomes modern -ll as in mill. The pronunciation /kɪln/ may be based on dialects in which this simplification did not take place, but it must have been at least reinforced by spelling pronunciation.