dc_blend: fix out-of-range access when drawing lines