Fix failing QQuickCanvas auto-tests

Make sure to initialize the vtbl correctly.

Change-Id: I65eab6e3fbb329b3595773db31fae4726d7683d4
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>