libtaskmanager: fix build when Qt is built with GLESv2
If Qt is compiled with GLESv2, we can not link against the Qt5::Gui_GL, that causes the cmake error.
If Qt is compiled with GLESv2, we can not link against the Qt5::Gui_GL, that causes the cmake error.