[guilib] - setvideoresolution needs to be called from mainthread to work
on most platforms - fixes #15115
Merge pull request #5502 from Memphiz/trac15115

[osx] - setvideoresolution needs to be called from mainthread else the o...