Fix bug in handling linefeeds in VGAChargen