Protection against negative (huge unsigned) window sizes.

Funny, Cocoa works, but with GL it generates ... Objective-C exception,
which is ... handled by TSystem! And leads to the stack unwiding killing ROOT
in a really sadistic way.
Merge branch 'v5-34-00-patches' of https://root.cern.ch/git/root into v5-34-00-patches