Fix QVideoSurfaceArbFpPainter mistakenly failing to start in some cases.
Fix QVideoSurfaceArbFpPainter mistakenly failing to start in some cases.

If an OpenGL error occurred before starting the video painter, it would
fail to do so. This patch simply makes sure the OpenGL error flag is
cleared before checking for GL errors that would occur in
QVideoSurfaceArbFpPainter's code.

Change-Id: I2eacf6db03cb290adf00a9faf11145c7a6ade565
Reviewed-by: Christian Stromme <0d8a7c35440bf88bf05c30d94f2a26326f5cfba7@digia.com>

mer-qt/qtmultimedia,mer-qt/qtmultimedia,mer-qt/qtmultimedia,mer-qt/qtmultimedia,mer-qt/qtmultimedia