bin/of: make it more smart
bin/switch-to-vga: allow to use vga only

Signed-off-by: Bao Haojun <baohaojun@gmail.com>