[SeaBIOS] [PATCH v2 2/6] cbvga: factor out cbvga_setup_modes()