Fixed bdiana build breakage caused by use of QGLWidget::convertToGLFormat()
which was not implemented in the PaintGL wrapper.

Summary: Fixed bdiana build caused by missing implementation of a QGLWidget function.

Test Plan: Build bdiana.

Reviewers: joa

Reviewed By: joa

Differential Revision: https://phab.met.no/D40