wpe: Fix build with -Werror enabled
Including gl.h from WPEThreadedView.h leads to GST_LEVEL_DEFAULT detected as redefined. The proposed fix is to include config.h from the CPP implementation file and disable gl.h inclusion in the header, by using forward declarations.