vga: move back dirty_log functions to vga.c