[osx] - setvideoresolution needs to be called from mainthread else the opengl context in windowing can't be accessed - fixes #15115