io: Add vga_writehex function