Fix QOpenGLContext scene graph declaration in the QtQuick autotests

Change-Id: Ia3e588bcdfd5c0dd094418fa77d5dc67b1e66b9c
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>