hw/display/artist: Check offset in draw_line to avoid buffer over-run