Update modules/highgui/src/window.cpp

Bugfix for compile error on Android / NOGUI