qemuvga: compilation fixes

Fixes compilation with GCC