[x86] More cleaner implementation of text-mode vga based defterm

Signed-off-by: Anup Patel <anup@brainfault.org>